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 |  110 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 103 insertions(+), 7 deletions(-)

diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h
index 822308f..2dff88e 100644
--- a/EZSDK/EZSDK/EZSDK.h
+++ b/EZSDK/EZSDK/EZSDK.h
@@ -6,40 +6,136 @@
 //
 
 #import <Foundation/Foundation.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;
+
 /**
  鍒濆鍖朣DK
  浼犲叆鍥藉唴鐗坘ey 鍜屾捣澶栫増globalAppKey
  */
-+ (BOOL)initLibWithAppKey:(NSString *)appKey globalAppKey:(NSString *)globalAppKey;
+- (BOOL)initLibWithAppKey:(NSString *)appKey globalAppKey:(NSString *)globalAppKey;
 /**
  璁剧疆SDK鐨刟ccessToken
  */
-+(void)setEZAccessToken:(NSString *) accessToken;
+- (void)setEZAccessToken:(NSString *) accessToken;
+/**
+ 璁剧疆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
+ */
+- (void)setRequestHttpsHostAndPlatform:(NSString *) requestHttpsHost platform:(int)platform homeId:(NSString *)homeId;
+
 /**
  鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃
  */
-+(void)go2EZvizMonitor;
+- (void)go2EZvizMonitor;
+
+/**
+ 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃(绛涙帀闂ㄩ攣璁惧)
+ @param filterTepes 杩囨护鍨嬪彿鏁扮粍
+ */
+- (void)toEZDeviceListViewWithFilterTypes:(NSArray*)filterTepes;
+
 /**
  璺宠浆娣诲姞娣诲姞璁惧
  */
-+(void)addEzvizMonitor;
+- (void)addEzvizMonitor;
+
+/**
+ 璺宠浆娣诲姞娣诲姞璁惧
+ @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�)
+ */
+- (void)addEzvizMonitorWithDeviceType:(NSString *)deviceType;
+
 /**
  鏌ョ湅瑙嗛鐩戞帶鐩存挱
  */
-+(void)Play:(NSObject*)deviceInfo;
+- (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;
+
 /**
  鎵撳紑鎽勫儚澶磋缃〉闈�
  */
-+(void)setting:(NSObject*)deviceInfo;
+- (void)setting:(EZDeviceInfo*)deviceInfo;
 /**
  鍥炴斁鎾斁鍘嗗彶
  */
-+(void)playBackVideo:(NSObject*)deviceInfo;
+- (void)playBackVideo:(EZDeviceInfo*)deviceInfo;
 
+////鏌ョ湅鍛婅淇℃伅
+//- (void)goToEZMessagePhotoVC:(EZAlarmInfo*)alarmInfo;
 
+/**涓存椂瀵嗙爜椤�
+ @param deviceId 璁惧id
+ */
+- (void)toTemPassView:(NSString*)deviceId;
 
+/**璁惧鍘嗗彶璁板綍椤�
+ @param deviceId 璁惧id
+ */
+- (void)toDeviceMsgListView:(NSString*)deviceId;
 
 
 @end

--
Gitblit v1.8.0