![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartLockApi.h>
Additional Inherited Members | |
Class Methods inherited from ThingSmartRequest | |
| (void) | + registerIntercepterClass: |
| (void) | + unregisterIntercepterClass: |
| (void) | + configAccessToken:refreshToken: |
| (void) | + clearToken |
| (NSString *) | + requestToken |
| (void) | + removeAllCache |
| Remove network cache. More... | |
| (void) | + registerIntercepterClass: |
| (void) | + unregisterIntercepterClass: |
| (void) | + configAccessToken:refreshToken: |
| (void) | + clearToken |
| (NSString *) | + requestToken |
| (void) | + removeAllCache |
| Remove network cache. More... | |
| (void) | + registerIntercepterClass: |
| (void) | + unregisterIntercepterClass: |
| (void) | + configAccessToken:refreshToken: |
| (void) | + clearToken |
| (NSString *) | + requestToken |
| (void) | + removeAllCache |
| Remove network cache. More... | |
| (void) | + registerIntercepterClass: |
| (void) | + unregisterIntercepterClass: |
| (void) | + configAccessToken:refreshToken: |
| (void) | + clearToken |
| (NSString *) | + requestToken |
| (void) | + removeAllCache |
| Remove network cache. More... | |
Definition at line 11 of file ThingSmartLockApi.h.
| - (void) addPhotoLockOfflinePasswordWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| gmtStart: | (NSInteger) | gmtStart | |
| gmtExpired: | (NSInteger) | gmtExpired | |
| pwdName: | (NSString *) | pwdName | |
| countryCode: | (NSString *) | countryCode | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加离线临时密码
| devId | 设备ID |
| pwdType | 密码类型 |
| gmtStart | 开始时间 |
| gmtExpired | 结束时间 |
| pwdName | 密码名称 |
| countryCode | 手机号国家码 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addPhotoLockOfflinePasswordWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| gmtStart: | (NSInteger) | gmtStart | |
| gmtExpired: | (NSInteger) | gmtExpired | |
| pwdName: | (NSString *) | pwdName | |
| countryCode: | (NSString *) | countryCode | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加离线临时密码
| devId | 设备ID |
| pwdType | 密码类型 |
| gmtStart | 开始时间 |
| gmtExpired | 结束时间 |
| pwdName | 密码名称 |
| countryCode | 手机号国家码 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addPhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| avatar: | (NSString *) | avatar | |
| sex: | (NSString *) | sex | |
| birthday: | (NSInteger) | birthday | |
| height: | (NSInteger) | height | |
| weight: | (NSInteger) | weight | |
| localHeightUnit: | (NSString *) | localHeightUnit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加面板成员
| devId | 设备ID |
| name | 用户名称 |
| avatar | 头像信息 |
| sex | 性别(0未知 1男 2女) |
| birthday | 生日(时间戳) |
| height | 身高 |
| weight | 体重 |
| localHeightUnit | App单位(CM 厘米 INCH 英寸) |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addPhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| avatar: | (NSString *) | avatar | |
| sex: | (NSString *) | sex | |
| birthday: | (NSInteger) | birthday | |
| height: | (NSInteger) | height | |
| weight: | (NSInteger) | weight | |
| localHeightUnit: | (NSString *) | localHeightUnit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加面板成员
| devId | 设备ID |
| name | 用户名称 |
| avatar | 头像信息 |
| sex | 性别(0未知 1男 2女) |
| birthday | 生日(时间戳) |
| height | 身高 |
| weight | 体重 |
| localHeightUnit | App单位(CM 厘米 INCH 英寸) |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addPhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| phone: | (NSString *) | phone | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| password: | (NSString *) | password | |
| schedule: | (NSString *) | schedule | |
| countryCode: | (NSString *) | countryCode | |
| availTime: | (NSInteger) | availTime | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加在线临时密码
| devId | 设备ID |
| name | 密码名称 |
| phone | 手机号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| password | 密码 |
| schedule | 周期 |
| countryCode | 手机的国家码 |
| availTime | 可用次数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addPhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| phone: | (NSString *) | phone | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| password: | (NSString *) | password | |
| schedule: | (NSString *) | schedule | |
| countryCode: | (NSString *) | countryCode | |
| availTime: | (NSInteger) | availTime | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加在线临时密码
| devId | 设备ID |
| name | 密码名称 |
| phone | 手机号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| password | 密码 |
| schedule | 周期 |
| countryCode | 手机的国家码 |
| availTime | 可用次数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addVideoLockOfflinePasswordWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| gmtStart: | (NSInteger) | gmtStart | |
| gmtExpired: | (NSInteger) | gmtExpired | |
| pwdName: | (NSString *) | pwdName | |
| countryCode: | (NSString *) | countryCode | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加离线临时密码
| devId | 设备ID |
| pwdType | 密码类型 |
| gmtStart | 开始时间 |
| gmtExpired | 结束时间 |
| pwdName | 密码类型(0.多次1.单次9.清空密码) |
| countryCode | 手机的国家码 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addVideoLockOfflinePasswordWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| gmtStart: | (NSInteger) | gmtStart | |
| gmtExpired: | (NSInteger) | gmtExpired | |
| pwdName: | (NSString *) | pwdName | |
| countryCode: | (NSString *) | countryCode | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加离线临时密码
| devId | 设备ID |
| pwdType | 密码类型 |
| gmtStart | 开始时间 |
| gmtExpired | 结束时间 |
| pwdName | 密码类型(0.多次1.单次9.清空密码) |
| countryCode | 手机的国家码 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| password: | (NSString *) | password | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| availTime: | (NSInteger) | availTime | |
| sn: | (NSInteger) | sn | |
| schedule: | (NSString *) | schedule | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加在线临时密码
| devId | 设备ID |
| name | 密码名称 |
| password | 密码内容 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| availTime | 可用次数 |
| sn | 临时密码编号 |
| schedule | 周期 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) addVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| password: | (NSString *) | password | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| availTime: | (NSInteger) | availTime | |
| sn: | (NSInteger) | sn | |
| schedule: | (NSString *) | schedule | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
添加在线临时密码
| devId | 设备ID |
| name | 密码名称 |
| password | 密码内容 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| availTime | 可用次数 |
| sn | 临时密码编号 |
| schedule | 周期 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) bindHistoryLogToUserWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| unlockIds: | (NSArray *) | unlockIds | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
绑定历史记录到人
| devId | 设备ID |
| userId | 用户ID |
| unlockIds | 解锁方式列表 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) bindHistoryLogToUserWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| unlockIds: | (NSArray *) | unlockIds | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
绑定历史记录到人
| devId | 设备ID |
| userId | 用户ID |
| unlockIds | 解锁方式列表 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deletePhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除面板成员信息
| devId | 设备ID |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deletePhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除面板成员信息
| devId | 设备ID |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deletePhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除临时密码
| devId | 设备ID |
| pwdId | 密码编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deletePhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除临时密码
| devId | 设备ID |
| pwdId | 密码编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deleteVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除临时密码
| devId | 设备ID |
| unlockBindingId | 临时密码序号 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) deleteVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
删除临时密码
| devId | 设备ID |
| unlockBindingId | 临时密码序号 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getAlbumListWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取相册列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getAlbumListWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取相册列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getDeviceLogsWithDevId: | (NSString *) | devId | |
| logCategories: | (NSString *) | logCategories | |
| userIds: | (NSString *) | userIds | |
| onlyShowMediaRecord: | (BOOL) | onlyShowMediaRecord | |
| startTime: | (NSInteger) | startTime | |
| endTime: | (NSInteger) | endTime | |
| lastRowKey: | (NSString *) | lastRowKey | |
| userType: | (NSInteger) | userType | |
| userId: | (NSString *) | userId | |
| limit: | (NSInteger) | limit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询日志记录
| devId | 设备ID |
| logCategories | 日志大类 |
| userIds | 需要筛选的用户列表 |
| onlyShowMediaRecord | 是否筛选带图像的记录 |
| startTime | 开始时间 |
| endTime | 结束时间 |
| lastRowKey | 查询分页的参数 |
| userType | 用户体系类型,空默认的是家庭用户体系0家庭体系1面板用户体系 |
| userId | 面板用户编号 |
| limit | 每页数据个数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getDeviceLogsWithDevId: | (NSString *) | devId | |
| logCategories: | (NSString *) | logCategories | |
| userIds: | (NSString *) | userIds | |
| onlyShowMediaRecord: | (BOOL) | onlyShowMediaRecord | |
| startTime: | (NSInteger) | startTime | |
| endTime: | (NSInteger) | endTime | |
| lastRowKey: | (NSString *) | lastRowKey | |
| userType: | (NSInteger) | userType | |
| userId: | (NSString *) | userId | |
| limit: | (NSInteger) | limit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询日志记录
| devId | 设备ID |
| logCategories | 日志大类 |
| userIds | 需要筛选的用户列表 |
| onlyShowMediaRecord | 是否筛选带图像的记录 |
| startTime | 开始时间 |
| endTime | 结束时间 |
| lastRowKey | 查询分页的参数 |
| userType | 用户体系类型,空默认的是家庭用户体系0家庭体系1面板用户体系 |
| userId | 面板用户编号 |
| limit | 每页数据个数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getDeviceRotateWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取设备旋转角度
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getDeviceRotateWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取设备旋转角度
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getLatestDeviceLogWithDevId: | (NSString *) | devId | |
| userType: | (NSInteger) | userType | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询最近一条日志记录
| devId | 设备ID |
| userType | 用户体系类型,0是家庭体系 1是面板用户体系 |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getLatestDeviceLogWithDevId: | (NSString *) | devId | |
| userType: | (NSInteger) | userType | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询最近一条日志记录
| devId | 设备ID |
| userType | 用户体系类型,0是家庭体系 1是面板用户体系 |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getOfflinePasswordListWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| status: | (NSInteger) | status | |
| offset: | (NSInteger) | offset | |
| limit: | (NSInteger) | limit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取离线密码列表
| devId | 设备ID |
| pwdType | 密码类型 |
| status | 密码状态 |
| offset | 页码 |
| limit | 记录数(默认50) |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getOfflinePasswordListWithDevId: | (NSString *) | devId | |
| pwdType: | (NSString *) | pwdType | |
| status: | (NSInteger) | status | |
| offset: | (NSInteger) | offset | |
| limit: | (NSInteger) | limit | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取离线密码列表
| devId | 设备ID |
| pwdType | 密码类型 |
| status | 密码状态 |
| offset | 页码 |
| limit | 记录数(默认50) |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockMemberCountWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
成员管理接口 统计成员个数
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockMemberCountWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
成员管理接口 统计成员个数
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockMemberPanelListWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询面板成员列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockMemberPanelListWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
查询面板成员列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockOfflineEmptyCodeWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取某个离线临时密码的清空码
| devId | 设备ID |
| pwdId | 密码编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockOfflineEmptyCodeWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取某个离线临时密码的清空码
| devId | 设备ID |
| pwdId | 密码编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockPanelMemberDetailWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取面板成员详情
| devId | 设备ID |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockPanelMemberDetailWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取面板成员详情
| devId | 设备ID |
| userId | 用户编号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
在线密码接口 获取在线临时密码列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getPhotoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
在线密码接口 获取在线临时密码列表
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getReavailableOfflinePasswordWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取可分配的不限次数离线密码
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getReavailableOfflinePasswordWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取可分配的不限次数离线密码
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockOfflineEmptyCodeWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取某个离线临时密码的清空码
| devId | 设备ID |
| unlockBindingId | 密码的授权编号 |
| name | 离线删除密码的名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockOfflineEmptyCodeWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取某个离线临时密码的清空码
| devId | 设备ID |
| unlockBindingId | 密码的授权编号 |
| name | 离线删除密码的名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockSnNumberWithDevId: | (NSString *) | devId | |
| dpId: | (NSInteger) | dpId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取可视对讲门锁sn
| devId | 设备ID |
| dpId | 开门方式dpId |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockSnNumberWithDevId: | (NSString *) | devId | |
| dpId: | (NSInteger) | dpId | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取可视对讲门锁sn
| devId | 设备ID |
| dpId | 开门方式dpId |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| authTypes: | (NSArray *) | authTypes | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取在线临时密码列表
| devId | 设备ID |
| authTypes | 查询的授权类型 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) getVideoLockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| authTypes: | (NSArray *) | authTypes | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
获取在线临时密码列表
| devId | 设备ID |
| authTypes | 查询的授权类型 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) isCurrentOfflinePasswordAvailableWithDevId: | (NSString *) | devId | |
| pwdType: | (NSInteger) | pwdType | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
离线密码接口 判断当前类型的密码是否可以继续获取
| devId | 设备ID |
| pwdType | 密码类型 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) isCurrentOfflinePasswordAvailableWithDevId: | (NSString *) | devId | |
| pwdType: | (NSInteger) | pwdType | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
离线密码接口 判断当前类型的密码是否可以继续获取
| devId | 设备ID |
| pwdType | 密码类型 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) remoteUnlockAvailableWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (ThingFailureError) | failure | |
用户是否可以远程开门
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) remoteUnlockAvailableWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessID) | success | |
| failure: | (ThingFailureError) | failure | |
用户是否可以远程开门
| devId | 设备ID |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) removeHijackingConfigWithDevId: | (NSString *) | devId | |
| dpId: | (NSString *) | dpId | |
| dpValue: | (NSString *) | dpValue | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
移除防劫持设置
| devId | 设备ID |
| dpId | dpId |
| dpValue | dp值 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) removeHijackingConfigWithDevId: | (NSString *) | devId | |
| dpId: | (NSString *) | dpId | |
| dpValue: | (NSString *) | dpValue | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
移除防劫持设置
| devId | 设备ID |
| dpId | dpId |
| dpValue | dp值 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setHijackingConfigWithDevId: | (NSString *) | devId | |
| dpId: | (NSString *) | dpId | |
| dpValue: | (NSString *) | dpValue | |
| success: | (ThingSuccessBOOL) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置防劫持
| devId | 设备ID |
| dpId | dpId |
| dpValue | dp值 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setHijackingConfigWithDevId: | (NSString *) | devId | |
| dpId: | (NSString *) | dpId | |
| dpValue: | (NSString *) | dpValue | |
| success: | (ThingSuccessBOOL) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置防劫持
| devId | 设备ID |
| dpId | dpId |
| dpValue | dp值 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setPhotoLockOfflinePasswordNameWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| pwdName: | (NSString *) | pwdName | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置离线密码名称
| devId | 设备ID |
| pwdId | 密码编号 |
| pwdName | 密码名称 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setPhotoLockOfflinePasswordNameWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| pwdName: | (NSString *) | pwdName | |
| mobile: | (NSString *) | mobile | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置离线密码名称
| devId | 设备ID |
| pwdId | 密码编号 |
| pwdName | 密码名称 |
| mobile | 手机号 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setVideoLockOfflinePasswordNameWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| pwdName: | (NSString *) | pwdName | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置离线密码名称
| devId | 设备ID |
| unlockBindingId | 密码编号 |
| pwdName | 密码名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) setVideoLockOfflinePasswordNameWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| pwdName: | (NSString *) | pwdName | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
设置离线密码名称
| devId | 设备ID |
| unlockBindingId | 密码编号 |
| pwdName | 密码名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updateBLELockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| password: | (NSString *) | password | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| phase: | (NSInteger) | phase | |
| schedule: | (NSString *) | schedule | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新自定义密码临时密码信息
| devId | 设备ID |
| name | 密码名称 |
| password | 密码内容 |
| unlockBindingId | 密码编号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| phase | 2.正常 4.冻结 |
| schedule | 周期 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updateBLELockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| password: | (NSString *) | password | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| phase: | (NSInteger) | phase | |
| schedule: | (NSString *) | schedule | |
| symbolic: | (BOOL) | symbolic | |
| dpTunnel: | (NSInteger) | dpTunnel | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新自定义密码临时密码信息
| devId | 设备ID |
| name | 密码名称 |
| password | 密码内容 |
| unlockBindingId | 密码编号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| phase | 2.正常 4.冻结 |
| schedule | 周期 |
| symbolic | 是否需要下发dp,复合通信门锁生效 |
| dpTunnel | 如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updatePhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| userName: | (NSString *) | userName | |
| avatar: | (NSString *) | avatar | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新面板成员信息
| devId | 设备ID |
| userId | 用户编号 |
| userName | 用户名称 |
| avatar | 头像信息 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updatePhotoLockPanelMemberWithDevId: | (NSString *) | devId | |
| userId: | (NSString *) | userId | |
| userName: | (NSString *) | userName | |
| avatar: | (NSString *) | avatar | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新面板成员信息
| devId | 设备ID |
| userId | 用户编号 |
| userName | 用户名称 |
| avatar | 头像信息 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updatePhotoLockTemporaryPasswordNameWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新临时密码名称
| devId | 设备ID |
| pwdId | 密码编号 |
| name | 名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updatePhotoLockTemporaryPasswordNameWithDevId: | (NSString *) | devId | |
| pwdId: | (NSInteger) | pwdId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新临时密码名称
| devId | 设备ID |
| pwdId | 密码编号 |
| name | 名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updateVideoLockTemporaryPasswordNameWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新临时密码名称
| devId | 设备ID |
| unlockBindingId | 临时密码序号 |
| name | 名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) updateVideoLockTemporaryPasswordNameWithDevId: | (NSString *) | devId | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| name: | (NSString *) | name | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
更新临时密码名称
| devId | 设备ID |
| unlockBindingId | 临时密码序号 |
| name | 名称 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) uploadBLELockOperationLogWithDevId: | (NSString *) | devId | |
| logType: | (NSString *) | logType | |
| data: | (NSString *) | data | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
上报操作日志记录
| devId | 设备ID |
| logType | 日志类型 |
| data | 业务参数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) uploadBLELockOperationLogWithDevId: | (NSString *) | devId | |
| logType: | (NSString *) | logType | |
| data: | (NSString *) | data | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
上报操作日志记录
| devId | 设备ID |
| logType | 日志类型 |
| data | 业务参数 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) validateBLELockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| phone: | (NSString *) | phone | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| password: | (NSString *) | password | |
| schedule: | (NSString *) | schedule | |
| countryCode: | (NSString *) | countryCode | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
| devId | 设备ID |
| name | 密码名称 |
| phone | 手机号 |
| unlockBindingId | 密码编号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| password | 密码 |
| schedule | 周期 |
| countryCode | 手机的国家码 |
| success | 成功回调 |
| failure | 失败回调 |
| - (void) validateBLELockTemporaryPasswordWithDevId: | (NSString *) | devId | |
| name: | (NSString *) | name | |
| phone: | (NSString *) | phone | |
| unlockBindingId: | (NSInteger) | unlockBindingId | |
| effectiveTime: | (NSInteger) | effectiveTime | |
| invalidTime: | (NSInteger) | invalidTime | |
| password: | (NSString *) | password | |
| schedule: | (NSString *) | schedule | |
| countryCode: | (NSString *) | countryCode | |
| success: | (ThingSuccessID) | success | |
| failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
| devId | 设备ID |
| name | 密码名称 |
| phone | 手机号 |
| unlockBindingId | 密码编号 |
| effectiveTime | 生效时间 |
| invalidTime | 失效时间 |
| password | 密码 |
| schedule | 周期 |
| countryCode | 手机的国家码 |
| success | 成功回调 |
| failure | 失败回调 |