//
|
// 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
|