From b4e1288a9b63eb820e9c9489c56aac4bf6b31067 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期三, 18 十二月 2024 14:34:16 +0800 Subject: [PATCH] feature 图片资源更新 --- EZSDK/EZSDK/EZSDK.h | 82 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 1 deletions(-) diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h index 9a39d58..2dff88e 100644 --- a/EZSDK/EZSDK/EZSDK.h +++ b/EZSDK/EZSDK/EZSDK.h @@ -6,9 +6,27 @@ // #import <Foundation/Foundation.h> -#import "EZDeviceInfo.h" +//#import <EZOpenSDKFramework/EZDeviceInfo.h> +#import <EZOpenSDKFramework/EZDeviceInfo.h> + + + +@protocol EZSDKDelegate <NSObject> + +/*娣诲姞璁惧鎴愬姛 + @param deviceSerial 璁惧搴忓垪鍙� + */ +-(void)addDeviceSuccessed:(NSString*)deviceSerial; + +@end @interface EZSDK : NSObject + +@property (nonatomic, weak) id<EZSDKDelegate> delegate;//浠g悊 + +@property (nonatomic, strong) NSArray *connectTipModels;//闇�瑕侀厤缃戞彁绀虹殑绫诲瀷锛堜笉鑳介�氳繃app绔厤缃戠殑璁惧绫诲瀷锛� + + ///sharedInstance + (instancetype)sharedInstance; @@ -25,6 +43,13 @@ 璁剧疆HDLSDK鐨刟ccessToken */ - (void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *) refreshToken; + +/** + 閰嶇疆骞冲彴appkey鍜宎ppSecret + 浼犲叆appKey鍜宎ppSecret + */ +- (void)configHDLServerAppKey:(NSString *)appKey appSecret:(NSString *)appSecret; + /** 璁剧疆SDK鐨勬渤涓滄帴鍙g殑requestHttpsHost鍜屽钩鍙� 鏍囪瘑锛�1.on+(榛樿) 2.evoyo */ @@ -34,17 +59,62 @@ 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃 */ - (void)go2EZvizMonitor; + +/** + 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃(绛涙帀闂ㄩ攣璁惧) + @param filterTepes 杩囨护鍨嬪彿鏁扮粍 + */ +- (void)toEZDeviceListViewWithFilterTypes:(NSArray*)filterTepes; + /** 璺宠浆娣诲姞娣诲姞璁惧 */ - (void)addEzvizMonitor; + +/** + 璺宠浆娣诲姞娣诲姞璁惧 + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + */ +- (void)addEzvizMonitorWithDeviceType:(NSString *)deviceType; + /** 鏌ョ湅瑙嗛鐩戞帶鐩存挱 */ - (void)Play:(EZDeviceInfo*)deviceInfo; + +/** + 鏌ョ湅瑙嗛鐩戞帶鐩存挱 + @param deviceInfo 璁惧淇℃伅 + @param msgId 娑堟伅Id + @param isShow 鏄惁灞曠ず鍛煎彨寮规 + */ +- (void)Play:(EZDeviceInfo*)deviceInfo messageId:(NSString *)msgId showCallout:(BOOL)isShow; + /// 鎸囧畾搴忓垪鍙� 鏌ョ湅瑙嗛鐩戞帶鐩存挱 /// @param deviceSerial 搴忓垪鍙� - (void)PlayWithDeviceSerial:(NSString *)deviceSerial; + +/// 鎸囧畾搴忓垪鍙� 鏌ョ湅瑙嗛鐩戞帶鐩存挱(鐚溂鍛煎彨鍔熻兘) +/// @param deviceSerial 搴忓垪鍙� +- (void)PlayWithDeviceSerial:(NSString *)deviceSerial msgId:(NSString *)msgId; + +/** + 鏍规嵁spk杩涘叆闂ㄩ攣瑙嗛 + @param deviceSerial 搴忓垪鍙� + @param deviceId 璁惧id + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + */ +-(void)PlayWithDeviceSerial:(NSString *)deviceSerial deviceId:(NSString*)deviceId deviceType:(NSString *)deviceType; + +/** + 鏍规嵁spk杩涘叆闂ㄩ攣瑙嗛 + @param deviceSerial 搴忓垪鍙� + @param deviceId 璁惧id + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + @param msgId 娑堟伅id + */ +-(void)PlayWithDeviceSerial:(NSString *)deviceSerial deviceId:(NSString*)deviceId deviceType:(NSString *)deviceType msgId:(NSString *)msgId; + /** 鎵撳紑鎽勫儚澶磋缃〉闈� */ @@ -57,5 +127,15 @@ ////鏌ョ湅鍛婅淇℃伅 //- (void)goToEZMessagePhotoVC:(EZAlarmInfo*)alarmInfo; +/**涓存椂瀵嗙爜椤� + @param deviceId 璁惧id + */ +- (void)toTemPassView:(NSString*)deviceId; + +/**璁惧鍘嗗彶璁板綍椤� + @param deviceId 璁惧id + */ +- (void)toDeviceMsgListView:(NSString*)deviceId; + @end -- Gitblit v1.8.0