洛阳学员端
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.

44 lines
1.4 KiB

9 months ago
  1. //
  2. // DTFSdk.h
  3. // DTFIdentityManager
  4. //
  5. // Created by richard on 22/11/2017.
  6. // Copyright © 2017 DTF. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface DTFSdk : NSObject
  10. /*初始化接口,尽可能早调用
  11. */
  12. + (void)init;
  13. /* IPV6的初始化接口 只有你的网络环境强制要求是IPV6的时候,才调用initIPv6。
  14. */
  15. + (void)initIPv6;
  16. + (NSString *)getVersion;
  17. + (void)preload:(NSDictionary *)param completion:(void (^)(BOOL success))completion;
  18. /*同步获取设备指纹token
  19. 1SDK初始化后需要经过一段时间计算才能获取到deviceToken3
  20. 2deviceToken短期有效使
  21. *@param session session缓冲区
  22. *@param lenth session缓冲区的长度384 char session[384] = {0};
  23. *@return 0
  24. */
  25. +(int) getSession:(char *) session : (const int) lenth DEPRECATED_MSG_ATTRIBUTE("use getMobileSession instead");
  26. /*同步获取设备指纹token
  27. 1SDK初始化后需要经过一段时间计算才能获取到deviceToken3
  28. 2token@""
  29. */
  30. +(NSString*)getMobileSession;
  31. //获取无线保镖基本数据。
  32. + (NSDictionary*) getSecurityInfo DEPRECATED_MSG_ATTRIBUTE("won't use any more");;
  33. @end