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 |   78 +++++++++++++++++++++++++++++++++++----
 1 files changed, 70 insertions(+), 8 deletions(-)

diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h
index 2ae3791..2dff88e 100644
--- a/EZSDK/EZSDK/EZSDK.h
+++ b/EZSDK/EZSDK/EZSDK.h
@@ -6,15 +6,27 @@
 //
 
 #import <Foundation/Foundation.h>
-#import "EZDeviceInfo.h"
+//#import <EZOpenSDKFramework/EZDeviceInfo.h>
+#import <EZOpenSDKFramework/EZDeviceInfo.h>
 
-//璁惧绫诲瀷
-typedef enum {
-    HDLEZDeviceType_Default=0, //榛樿绫诲瀷
-    HDLEZDeviceType_Door=1,//闂ㄩ攣
-}HDLEZDeviceType;
+
+
+@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;
 
@@ -31,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
  */
@@ -40,6 +59,13 @@
  鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃
  */
 - (void)go2EZvizMonitor;
+
+/**
+ 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃(绛涙帀闂ㄩ攣璁惧)
+ @param filterTepes 杩囨护鍨嬪彿鏁扮粍
+ */
+- (void)toEZDeviceListViewWithFilterTypes:(NSArray*)filterTepes;
+
 /**
  璺宠浆娣诲姞娣诲姞璁惧
  */
@@ -47,17 +73,48 @@
 
 /**
  璺宠浆娣诲姞娣诲姞璁惧
- @param deviceType 璁惧绫诲瀷
+ @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�)
  */
-- (void)addEzvizMonitorWithDeviceType:(HDLEZDeviceType)deviceType;
+- (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;
+
 /**
  鎵撳紑鎽勫儚澶磋缃〉闈�
  */
@@ -75,5 +132,10 @@
  */
 - (void)toTemPassView:(NSString*)deviceId;
 
+/**璁惧鍘嗗彶璁板綍椤�
+ @param deviceId 璁惧id
+ */
+- (void)toDeviceMsgListView:(NSString*)deviceId;
+
 
 @end

--
Gitblit v1.8.0