From 3698c13aba988cd3e41b91b255e1c682c057e565 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 23 三月 2023 11:49:58 +0800 Subject: [PATCH] 1.新增历史记录相关页面及功能 2.修改配网为热点配网 3.设备列表增加过滤门锁功能 4.增加添加设备通知功能 --- EZSDK/EZSDK/EZSDK.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h index 9a39d58..5afdf36 100644 --- a/EZSDK/EZSDK/EZSDK.h +++ b/EZSDK/EZSDK/EZSDK.h @@ -8,7 +8,20 @@ #import <Foundation/Foundation.h> #import "EZDeviceInfo.h" + + +@protocol EZSDKDelegate <NSObject> + +//娣诲姞璁惧鎴愬姛 +-(void)addDeviceSuccessed; + +@end + @interface EZSDK : NSObject + +@property (nonatomic, weak) id<EZSDKDelegate> delegate;//浠g悊 + + ///sharedInstance + (instancetype)sharedInstance; @@ -34,17 +47,41 @@ 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃 */ - (void)go2EZvizMonitor; + +/** + 鐩存帴璺宠浆鍒拌悿鐭虫憚鍍忓ご鍒楄〃(绛涙帀闂ㄩ攣璁惧) + @param filterTepes 杩囨护鍨嬪彿鏁扮粍 + */ +- (void)toEZDeviceListViewWithFilterTypes:(NSArray*)filterTepes; + /** 璺宠浆娣诲姞娣诲姞璁惧 */ - (void)addEzvizMonitor; + +/** + 璺宠浆娣诲姞娣诲姞璁惧 + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + */ +- (void)addEzvizMonitorWithDeviceType:(NSString *)deviceType; + /** 鏌ョ湅瑙嗛鐩戞帶鐩存挱 */ - (void)Play:(EZDeviceInfo*)deviceInfo; + /// 鎸囧畾搴忓垪鍙� 鏌ョ湅瑙嗛鐩戞帶鐩存挱 /// @param deviceSerial 搴忓垪鍙� - (void)PlayWithDeviceSerial:(NSString *)deviceSerial; + +/** + 鏍规嵁spk杩涘叆闂ㄩ攣瑙嗛 + @param deviceSerial 搴忓垪鍙� + @param deviceId 璁惧id + @param deviceType 璁惧spk(鐢ㄤ簬鍖哄垎鏄惁涓洪棬閿�) + */ +-(void)PlayWithDeviceSerial:(NSString *)deviceSerial deviceId:(NSString*)deviceId deviceType:(NSString *)deviceType; + /** 鎵撳紑鎽勫儚澶磋缃〉闈� */ @@ -57,5 +94,15 @@ ////鏌ョ湅鍛婅淇℃伅 //- (void)goToEZMessagePhotoVC:(EZAlarmInfo*)alarmInfo; +/**涓存椂瀵嗙爜椤� + @param deviceId 璁惧id + */ +- (void)toTemPassView:(NSString*)deviceId; + +/**璁惧鍘嗗彶璁板綍椤� + @param deviceId 璁惧id + */ +- (void)toDeviceMsgListView:(NSString*)deviceId; + @end -- Gitblit v1.8.0