SecurityLib.h 610 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // SecurityLib.h
  3. // Timi
  4. //
  5. // Created by gy on 2023/6/18.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface SecurityLib : NSObject
  10. +(id)sharedInstance;
  11. -(void)setAppType:(int) appType;
  12. -(void)setToken:(NSString*) token;
  13. -(void)setLongitude:(NSString*) longitude;
  14. -(void)setLatitude:(NSString*) latitude;
  15. -(void)setLongitude:(NSString *)longitude andLatitude:(NSString *)latitude;
  16. -(void)setAppVersion:(NSString*) appVersion;
  17. -(void)setChannelId:(NSNumber*) channelId;
  18. -(NSString*)getDeviceId;
  19. -(BOOL)isFirstInstall;
  20. -(NSString*)getHeaderPackage;
  21. @end
  22. NS_ASSUME_NONNULL_END