From d93de8833865eb833ca72320f317bf92ba2ae52a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 08 七月 2021 15:38:24 +0800 Subject: [PATCH] 2021-07-08 1.更新 --- Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/Global/EZSDK.h | 45 ++++++++++++++++----------------------------- 1 files changed, 16 insertions(+), 29 deletions(-) diff --git a/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/Global/EZSDK.h b/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/Global/EZSDK.h index 9ae441d..9325728 100644 --- a/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/Global/EZSDK.h +++ b/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/Global/EZSDK.h @@ -6,6 +6,7 @@ // #import <Foundation/Foundation.h> +#import "EZDeviceInfo.h" @interface EZSDK : NSObject /** @@ -18,6 +19,15 @@ */ +(void)setEZAccessToken:(NSString *) accessToken; /** + 璁剧疆HDLSDK鐨刟ccessToken + */ ++(void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *) refreshToken; +/** + 璁剧疆SDK鐨勬渤涓滄帴鍙g殑requestHttpsHost鍜屽钩鍙� 鏍囪瘑锛�1.on+(榛樿) 2.evoyo + */ ++(void)setRequestHttpsHostAndPlatform:(NSString *) requestHttpsHost platform:(int)platform homeId:(NSString *)homeId; + +/** 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃 */ +(void)go2EZvizMonitor; @@ -28,40 +38,17 @@ /** 鏌ョ湅瑙嗛鐩戞帶鐩存挱 */ -+(void)Play:(NSObject*)deviceInfo; ++(void)Play:(EZDeviceInfo*)deviceInfo; +/// 鎸囧畾搴忓垪鍙� 鏌ョ湅瑙嗛鐩戞帶鐩存挱 +/// @param deviceSerial 搴忓垪鍙� ++(void)PlayWithDeviceSerial:(NSString *)deviceSerial; /** 鎵撳紑鎽勫儚澶磋缃〉闈� */ -+(void)setting:(NSObject*)deviceInfo; ++(void)setting:(EZDeviceInfo*)deviceInfo; /** 鍥炴斁鎾斁鍘嗗彶 */ -+(void)playBackVideo:(NSObject*)deviceInfo; - - -#pragma mark -鎺ュ彛 -/** - * @since 娌充笢鑾峰彇瀛愯处鍙穞oken鐨勬帴鍙� - * - * @param block 鍥炶皟block - */ -+ (NSURLSessionDataTask *)getChildToken:(void (^)(NSString *accessToken))block; - -/** - * @since 娌充笢娣诲姞璁惧鐨勬帴鍙� - * 鏍规嵁璁惧搴忓垪鍙峰拰璁惧楠岃瘉鐮佹坊鍔犺澶囨帴鍙� - * - * @param deviceSerial 璁惧搴忓垪鍙� - * @param verifyCode 璁惧楠岃瘉鐮� - * @param completion 鍥炶皟block锛宔rror涓虹┖鏃惰〃绀烘坊鍔犳垚鍔� - * - * @return operation - */ -+ (NSURLSessionDataTask *)addDeviceByHDL:(NSString *)deviceSerial - verifyCode:(NSString *)verifyCode - completion:(void (^)(NSError *error))completion; - - - ++(void)playBackVideo:(EZDeviceInfo*)deviceInfo; @end -- Gitblit v1.8.0