| | |
| | | * @since 河东门锁终端授权接口 |
| | | * @param password 门锁密码 |
| | | * @param deviceId 设备id |
| | | * @param verifyCode sdk获取的校验码 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | * |
| | | */ |
| | | - (void)authLockByHDL:(NSString *)password |
| | | deviceId:(NSString *)deviceId |
| | | verifyCode:(NSString *)verifyCode |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | |
| | |
| | | deviceId:(NSString *)deviceId |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 河东获取设备消息 |
| | | * @param deviceId 设备id |
| | | * @param pageSize 页面大小 |
| | | * @param pageNo 当前页 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | * |
| | | */ |
| | | - (void)getDeviceMessageByHDL:(NSString *)deviceId |
| | | pageSize:(NSInteger)pageSize |
| | | pageNo:(NSInteger)pageNo |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 河东获取设备消息 |
| | | * @param deviceSerial 设备序列号 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | */ |
| | | - (void)getCoverSwitchStatus:(NSString *)deviceSerial |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 河东获取设备消息 |
| | | * @param deviceSerial 设备序列号 |
| | | * @param enable 隐私遮蔽状态 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | */ |
| | | - (void)coverSwitchStatus:(NSString *)deviceSerial |
| | | enable:(NSInteger)enable |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 更新接听状态 |
| | | * @param msgId 消息id |
| | | * @param answerStatus 接听状态(answer 已接听、no_answer 未接听) |
| | | * @param completion 回调block,error为空时表示成功 |
| | | */ |
| | | - (void)updateAnswerStatusWithMsgId:(NSString *)msgId |
| | | answerStatus:(NSString *)answerStatus |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 获取摄像头智能算法列表和状态 |
| | | * @param deviceSerial 设备序列号 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | */ |
| | | - (void)getAiSupportDetectionList:(NSString *)deviceSerial |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | /** |
| | | * @since 设置摄像头智能算法 |
| | | * @param deviceSerial 设备序列号 |
| | | * @param code 智能算法编码 |
| | | * @param completion 回调block,error为空时表示成功 |
| | | */ |
| | | - (void)setAiSupportDetection:(NSString *)deviceSerial |
| | | code:(NSString *)code |
| | | completion:(void (^)(ResponseData *responseData))completion; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |