洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.2 KiB

8 months ago
  1. //
  2. // deviceiOS.h
  3. // deviceiOS
  4. //
  5. // Created by nansong.zxc on 2020/3/25.
  6. // Copyright © 2020 security.net. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "SecuritySession.h"
  10. //! Project version number for deviceiOS.
  11. FOUNDATION_EXPORT double deviceiOSVersionNumber;
  12. //! Project version string for deviceiOS.
  13. FOUNDATION_EXPORT const unsigned char deviceiOSVersionString[];
  14. // In this header, you should import all the public headers of your framework using statements like #import <deviceiOS/PublicHeader.h>
  15. @interface SecurityDevice : NSObject
  16. /**
  17. *
  18. */
  19. + (SecurityDevice *)sharedInstance;
  20. /**
  21. *
  22. */
  23. - (void)initDevice:(NSString *)userAppKey :(void (^)(int))initCallback;
  24. /**
  25. * IPv6
  26. */
  27. - (void)initDeviceIPV6:(NSString *)userAppKey :(void (^)(int))initCallback;
  28. /**
  29. * DeviceToken
  30. */
  31. - (SecuritySession *) getSession;
  32. /**
  33. *
  34. */
  35. - (void)reportUserData:(int)type :(NSString *)msg;
  36. /**
  37. *
  38. */
  39. - (void)reportMoment;
  40. /**
  41. *
  42. */
  43. - (SecuritySessionId *)getSessionId;
  44. /**
  45. *
  46. */
  47. - (void)setOptions:(NSDictionary *)options;
  48. @end