//
//  ZZHUtils.h
//  HD wallpaper
//
//  Created by aaa on 2024/7/16.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZZHUtils : NSObject
+ (long long)collectKernelBootTimeMillis;

+ (long long)collectMonotonicRawClockTimeMillis;

+ (unsigned long long)collectAccessibilityFeatures;

+ (NSString *)collectDeviceKeyboards;

+ (NSString *)collectCurrentRadioAccessTechnologyIfNeeded;

+ (id)collectOrientationLock;

+ (void)userAgent;

+ (id)collectTimeZoneOffset;

+ (NSDictionary *)collectBatteryInfoIfNeeded ;

+ (NSString *)collectModelRevision ;

+ (NSString *)collectSubplatform;

//屏幕信息
+ (NSMutableDictionary *)collectScreenDimensions;

//屏幕亮度
+ (CGFloat)getScreenBrightness;

+ (NSString *)systemVersion ;

+ (NSMutableDictionary *)collectLocale;

+ (NSDictionary *)collectModel;

+ (void)appInfoFromBundle ;

+ (BOOL)isVPNConnected;

+ (NSDictionary *)wifiInfo ;

+(BOOL)isReachable;

+ (BOOL)isReachableViaWWAN ;

+ (BOOL)isReachableViaWiFi ;

+ (BOOL)isJailbroken;

+ (NSString *)getIDFV ;

+ (NSString *)getIDFA ;

//获取网络运营商
+ (NSString *)getCarrierName;

//获取当前可用内存
+(long long)getAvailableMemorySize;

//获取磁盘容量
+(long long)getTotalDiskSize;
//获取可用磁盘容量
+(long long)getAvailableDiskSize;

//获取所有相关IP信息
+ (NSDictionary *)getIPAddresses;

//是否有刘海屏
+ (BOOL)hasNotch ;

//获取系统字号
+ (NSNumber *)getSystemFontSize ;

/// 获取本机DNS服务器
+ (NSArray *)outPutDNSServers;

//获取processInfo
+ (NSDictionary *)processInfo ;

@end

NS_ASSUME_NONNULL_END
