酷店

TBSDKConfiguration.h 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // TBSDKConfiguration.h
  3. // mtopext
  4. //
  5. // Created by 亿刀/禚来强 on 16/6/15.
  6. // Copyright © 2016年 亿刀/禚来强. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class TBSDKAccountInfo;
  10. typedef enum {
  11. /**< 枚举,预发环境 */
  12. TBSDKEnvironmentDebug = 1,
  13. /**< 枚举,日常环境 */
  14. TBSDKEnvironmentDaily,
  15. /**< 枚举,正式环境 */
  16. TBSDKEnvironmentRelease
  17. } TBSDKEnvironment;
  18. @interface TBSDKConfiguration : NSObject
  19. /* 设置环境 */
  20. @property (nonatomic, unsafe_unretained) TBSDKEnvironment environment;
  21. /* 无线埋点的 ttid */
  22. @property (nonatomic, strong) NSString *wapTTID;
  23. /* 自定义域名 */
  24. @property (nonatomic, strong) NSString *customHost;
  25. /* 加签码 */
  26. @property (nonatomic, strong) NSString *authCode;
  27. /* 应用程序的 appKey */
  28. @property (nonatomic, strong, readonly) NSString *appKey;
  29. /* 设备标示 */
  30. @property(strong, nonatomic, readonly) NSString *utdid;
  31. /* 服务器时间 */
  32. @property(strong, nonatomic, readonly) NSDate *serverDate;
  33. /* 获取单例对象 */
  34. + (id)shareInstance;
  35. @end