30 lines
798 B
Objective-C
30 lines
798 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
FOUNDATION_EXTERN NSString *const VERSION;
|
|
|
|
@interface TDDeviceInfo : NSObject
|
|
|
|
+ (TDDeviceInfo *)sharedManager;
|
|
|
|
@property (nonatomic, copy) NSString *uniqueId;
|
|
@property (nonatomic, copy) NSString *deviceId;
|
|
@property (nonatomic, copy) NSString *appVersion;
|
|
@property (nonatomic, strong) NSDictionary *automaticData;
|
|
//@property (nonatomic, strong, getter=getAutomaticData) NSDictionary *automaticData;
|
|
@property (nonatomic, readonly) BOOL isFirstOpen;
|
|
|
|
@property (nonatomic, copy) NSString *libName;
|
|
@property (nonatomic, copy) NSString *libVersion;
|
|
- (void)updateAutomaticData;
|
|
|
|
+ (NSString *)libVersion;
|
|
- (NSDictionary *)collectAutomaticProperties;
|
|
+ (NSString*)bundleId;
|
|
+ (NSDate *)td_getInstallTime;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|