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 | 39 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 36 insertions(+), 3 deletions(-) diff --git a/EZSDK/EZSDK/EZSDK.h b/EZSDK/EZSDK/EZSDK.h index 5afdf36..2dff88e 100644 --- a/EZSDK/EZSDK/EZSDK.h +++ b/EZSDK/EZSDK/EZSDK.h @@ -6,20 +6,25 @@ // #import <Foundation/Foundation.h> -#import "EZDeviceInfo.h" +//#import <EZOpenSDKFramework/EZDeviceInfo.h> +#import <EZOpenSDKFramework/EZDeviceInfo.h> @protocol EZSDKDelegate <NSObject> -//娣诲姞璁惧鎴愬姛 --(void)addDeviceSuccessed; +/*娣诲姞璁惧鎴愬姛 + @param deviceSerial 璁惧搴忓垪鍙� + */ +-(void)addDeviceSuccessed:(NSString*)deviceSerial; @end @interface EZSDK : NSObject @property (nonatomic, weak) id<EZSDKDelegate> delegate;//浠g悊 + +@property (nonatomic, strong) NSArray *connectTipModels;//闇�瑕侀厤缃戞彁绀虹殑绫诲瀷锛堜笉鑳介�氳繃app绔厤缃戠殑璁惧绫诲瀷锛� ///sharedInstance @@ -38,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 */ @@ -70,9 +82,21 @@ */ - (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杩涘叆闂ㄩ攣瑙嗛 @@ -83,6 +107,15 @@ -(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:(EZDeviceInfo*)deviceInfo; -- Gitblit v1.8.0