JLChen
2021-02-03 4715e99a9be1c50d8ec31f594af9ebde18647c94
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
//  GlobalKit.h
//  EZOpenSDKDemo
//
//  Created by DeJohn Dong on 15/10/27.
//  Copyright © 2015年 Ezviz. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
//#define CURR_LANG ([[NSLocale preferredLanguages] objectAtIndex:0])
//#define LanguageIsChinese ([CURR_LANG rangeOfString:@"zh-Hans"].location != NSNotFound)
 
////中文走国内, 不是中文走海外
#define EZOPENSDK LanguageIsChinese ? [EZOpenSDK class] : [EZGlobalSDK class]
 
//2021-02-01 不考虑海外先,默认国内
#define LanguageIsChinese true
 
 
 
@interface GlobalKit : NSObject
 
@property (nonatomic, copy) NSString *accessToken;
@property (nonatomic, copy) NSString *deviceSerialNo;  //设备序列号
@property (nonatomic, copy) NSString *deviceModel;     //设备类型字符串
@property (nonatomic, copy) NSString *deviceVerifyCode; //设备验证码
@property (nonatomic, copy) NSMutableDictionary *deviceVerifyCodeBySerial; //内存存储:设备验证码(Value)序列号(Key)字典
@property (nonatomic, copy) NSString *configDevSerial; //指定设备序列号(可选)
 
+ (instancetype)shareKit;
 
- (void)clearSession;
 
- (void)clearDeviceInfo;
 
//+(void)hello;
@end