萤石云 iOSSDK,移植跨平台相关工程
Davin
2024-12-18 b4e1288a9b63eb820e9c9489c56aac4bf6b31067
EZSDK/EZSDK/EZSDK.h
@@ -43,6 +43,13 @@
 设置HDLSDK的accessToken
 */
- (void)setHDlAccessToken:(NSString *)accessToken refreshToken:(NSString *) refreshToken;
/**
 配置平台appkey和appSecret
 传入appKey和appSecret
 */
- (void)configHDLServerAppKey:(NSString *)appKey appSecret:(NSString *)appSecret;
/**
 设置SDK的河东接口的requestHttpsHost和平台 标识,1.on+(默认) 2.evoyo
 */
@@ -75,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进入门锁视频
@@ -88,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;