Tuya iOS Smart Life App SDK 5.15.0
ThingSmartLockApi Class Reference

#import <ThingSmartLockApi.h>

Inheritance diagram for ThingSmartLockApi:
ThingSmartRequest ThingSmartRequest

Instance Methods

(void) - getDeviceRotateWithDevId:success:failure:
 
(void) - getAlbumListWithDevId:success:failure:
 
(void) - getLatestDeviceLogWithDevId:userType:userId:success:failure:
 
(void) - getDeviceLogsWithDevId:logCategories:userIds:onlyShowMediaRecord:startTime:endTime:lastRowKey:userType:userId:limit:success:failure:
 
(void) - bindHistoryLogToUserWithDevId:userId:unlockIds:success:failure:
 
(void) - setHijackingConfigWithDevId:dpId:dpValue:success:failure:
 
(void) - removeHijackingConfigWithDevId:dpId:dpValue:success:failure:
 
(void) - isCurrentOfflinePasswordAvailableWithDevId:pwdType:success:failure:
 
(void) - getOfflinePasswordListWithDevId:pwdType:status:offset:limit:success:failure:
 
(void) - getReavailableOfflinePasswordWithDevId:success:failure:
 
(void) - addPhotoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure:
 
(void) - setPhotoLockOfflinePasswordNameWithDevId:pwdId:pwdName:mobile:success:failure:
 
(void) - getPhotoLockOfflineEmptyCodeWithDevId:pwdId:success:failure:
 
(void) - addVideoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure:
 
(void) - setVideoLockOfflinePasswordNameWithDevId:unlockBindingId:pwdName:success:failure:
 
(void) - getVideoLockOfflineEmptyCodeWithDevId:unlockBindingId:name:success:failure:
 
(void) - getPhotoLockTemporaryPasswordWithDevId:success:failure:
 
(void) - getVideoLockSnNumberWithDevId:dpId:success:failure:
 
(void) - getVideoLockTemporaryPasswordWithDevId:authTypes:success:failure:
 
(void) - addPhotoLockTemporaryPasswordWithDevId:name:phone:effectiveTime:invalidTime:password:schedule:countryCode:availTime:success:failure:
 
(void) - addVideoLockTemporaryPasswordWithDevId:name:password:effectiveTime:invalidTime:availTime:sn:schedule:symbolic:dpTunnel:success:failure:
 
(void) - updatePhotoLockTemporaryPasswordNameWithDevId:pwdId:name:success:failure:
 
(void) - updateVideoLockTemporaryPasswordNameWithDevId:unlockBindingId:name:success:failure:
 
(void) - deletePhotoLockTemporaryPasswordWithDevId:pwdId:success:failure:
 
(void) - deleteVideoLockTemporaryPasswordWithDevId:unlockBindingId:symbolic:dpTunnel:success:failure:
 
(void) - getPhotoLockMemberCountWithDevId:success:failure:
 
(void) - getPhotoLockMemberPanelListWithDevId:success:failure:
 
(void) - addPhotoLockPanelMemberWithDevId:name:avatar:sex:birthday:height:weight:localHeightUnit:success:failure:
 
(void) - updatePhotoLockPanelMemberWithDevId:userId:userName:avatar:success:failure:
 
(void) - deletePhotoLockPanelMemberWithDevId:userId:success:failure:
 
(void) - getPhotoLockPanelMemberDetailWithDevId:userId:success:failure:
 
(void) - remoteUnlockAvailableWithDevId:success:failure:
 
(void) - updateBLELockTemporaryPasswordWithDevId:name:password:unlockBindingId:effectiveTime:invalidTime:phase:schedule:symbolic:dpTunnel:success:failure:
 
(void) - validateBLELockTemporaryPasswordWithDevId:name:phone:unlockBindingId:effectiveTime:invalidTime:password:schedule:countryCode:success:failure:
 
(void) - uploadBLELockOperationLogWithDevId:logType:data:success:failure:
 
(void) - getDeviceRotateWithDevId:success:failure:
 
(void) - getAlbumListWithDevId:success:failure:
 
(void) - getLatestDeviceLogWithDevId:userType:userId:success:failure:
 
(void) - getDeviceLogsWithDevId:logCategories:userIds:onlyShowMediaRecord:startTime:endTime:lastRowKey:userType:userId:limit:success:failure:
 
(void) - bindHistoryLogToUserWithDevId:userId:unlockIds:success:failure:
 
(void) - setHijackingConfigWithDevId:dpId:dpValue:success:failure:
 
(void) - removeHijackingConfigWithDevId:dpId:dpValue:success:failure:
 
(void) - isCurrentOfflinePasswordAvailableWithDevId:pwdType:success:failure:
 
(void) - getOfflinePasswordListWithDevId:pwdType:status:offset:limit:success:failure:
 
(void) - getReavailableOfflinePasswordWithDevId:success:failure:
 
(void) - addPhotoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure:
 
(void) - setPhotoLockOfflinePasswordNameWithDevId:pwdId:pwdName:mobile:success:failure:
 
(void) - getPhotoLockOfflineEmptyCodeWithDevId:pwdId:success:failure:
 
(void) - addVideoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure:
 
(void) - setVideoLockOfflinePasswordNameWithDevId:unlockBindingId:pwdName:success:failure:
 
(void) - getVideoLockOfflineEmptyCodeWithDevId:unlockBindingId:name:success:failure:
 
(void) - getPhotoLockTemporaryPasswordWithDevId:success:failure:
 
(void) - getVideoLockSnNumberWithDevId:dpId:success:failure:
 
(void) - getVideoLockTemporaryPasswordWithDevId:authTypes:success:failure:
 
(void) - addPhotoLockTemporaryPasswordWithDevId:name:phone:effectiveTime:invalidTime:password:schedule:countryCode:availTime:success:failure:
 
(void) - addVideoLockTemporaryPasswordWithDevId:name:password:effectiveTime:invalidTime:availTime:sn:schedule:symbolic:dpTunnel:success:failure:
 
(void) - updatePhotoLockTemporaryPasswordNameWithDevId:pwdId:name:success:failure:
 
(void) - updateVideoLockTemporaryPasswordNameWithDevId:unlockBindingId:name:success:failure:
 
(void) - deletePhotoLockTemporaryPasswordWithDevId:pwdId:success:failure:
 
(void) - deleteVideoLockTemporaryPasswordWithDevId:unlockBindingId:symbolic:dpTunnel:success:failure:
 
(void) - getPhotoLockMemberCountWithDevId:success:failure:
 
(void) - getPhotoLockMemberPanelListWithDevId:success:failure:
 
(void) - addPhotoLockPanelMemberWithDevId:name:avatar:sex:birthday:height:weight:localHeightUnit:success:failure:
 
(void) - updatePhotoLockPanelMemberWithDevId:userId:userName:avatar:success:failure:
 
(void) - deletePhotoLockPanelMemberWithDevId:userId:success:failure:
 
(void) - getPhotoLockPanelMemberDetailWithDevId:userId:success:failure:
 
(void) - remoteUnlockAvailableWithDevId:success:failure:
 
(void) - updateBLELockTemporaryPasswordWithDevId:name:password:unlockBindingId:effectiveTime:invalidTime:phase:schedule:symbolic:dpTunnel:success:failure:
 
(void) - validateBLELockTemporaryPasswordWithDevId:name:phone:unlockBindingId:effectiveTime:invalidTime:password:schedule:countryCode:success:failure:
 
(void) - uploadBLELockOperationLogWithDevId:logType:data:success:failure:
 
- Instance Methods inherited from ThingSmartRequest
(void) - highwayRequestWithDomain:pathName:headerParams:queryParams:bodyParams:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:httpMethod:tokenDelegate:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:version:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:commonParams:httpMethod:success:failure:
 
(void) - requestWithApiName:postData:version:success:failure:
 
(void) - requestWithApiName:postData:getData:version:success:failure:
 
(void) - cancel
 Cancel network request. More...
 
(void) - highwayRequestWithDomain:pathName:headerParams:queryParams:bodyParams:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:httpMethod:tokenDelegate:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:version:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:commonParams:httpMethod:success:failure:
 
(void) - requestWithApiName:postData:version:success:failure:
 
(void) - requestWithApiName:postData:getData:version:success:failure:
 
(void) - cancel
 Cancel network request. More...
 
(void) - highwayRequestWithDomain:pathName:headerParams:queryParams:bodyParams:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:httpMethod:tokenDelegate:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:version:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:commonParams:httpMethod:success:failure:
 
(void) - requestWithApiName:postData:version:success:failure:
 
(void) - requestWithApiName:postData:getData:version:success:failure:
 
(void) - cancel
 Cancel network request. More...
 
(void) - highwayRequestWithDomain:pathName:headerParams:queryParams:bodyParams:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:httpMethod:tokenDelegate:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:version:httpMethod:success:failure:
 
(void) - requestWithCustomDomain:apiName:params:commonParams:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:version:httpMethod:success:failure:
 
(void) - requestWithApiName:params:commonParams:httpMethod:success:failure:
 
(void) - requestWithApiName:postData:version:success:failure:
 
(void) - requestWithApiName:postData:getData:version:success:failure:
 
(void) - cancel
 Cancel network request. More...
 
(void) - addMergeRequestWithApiName:postData:version:success:failure:
 
(void) - addMergeRequestWithApiName:postData:version:success:failure:
 
(void) - addMergeRequestWithApiName:postData:version:success:failure:
 
(void) - addMergeRequestWithApiName:postData:version:success:failure:
 
(void) - sendMergeRequestWithSuccess:failure:
 
(void) - sendMergeRequestWithSuccess:failure:
 
(void) - sendMergeRequestWithSuccess:failure:
 
(void) - sendMergeRequestWithSuccess:failure:
 
(void) - sendMergeRequestWithGetData:success:failure:
 
(void) - sendMergeRequestWithGetData:success:failure:
 
(void) - sendMergeRequestWithGetData:success:failure:
 
(void) - sendMergeRequestWithGetData:success:failure:
 
(void) - removeAllMergeRequest
 Remove all multiple api request. More...
 
(void) - removeAllMergeRequest
 Remove all multiple api request. More...
 
(void) - removeAllMergeRequest
 Remove all multiple api request. More...
 
(void) - removeAllMergeRequest
 Remove all multiple api request. More...
 
(void) - requestPostDataEncryptWithApiName:postData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:postData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:postData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:postData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:parameter:voiceData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:parameter:voiceData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:parameter:voiceData:version:success:failure:
 
(void) - requestPostDataEncryptWithApiName:parameter:voiceData:version:success:failure:
 
(void) - customTokenRefreshWithDomain:apiName:params:commonParams:httpMethod:success:failure:
 
(void) - customTokenRefreshWithDomain:apiName:params:commonParams:httpMethod:success:failure:
 
(void) - customTokenRefreshWithDomain:apiName:params:commonParams:httpMethod:success:failure:
 
(void) - customTokenRefreshWithDomain:apiName:params:commonParams:httpMethod:success:failure:
 

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...
 

Detailed Description

Definition at line 11 of file ThingSmartLockApi.h.

Method Documentation

◆ addPhotoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure: [1/2]

- (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 

添加离线临时密码

Parameters
devId设备ID
pwdType密码类型
gmtStart开始时间
gmtExpired结束时间
pwdName密码名称
countryCode手机号国家码
mobile手机号
success成功回调
failure失败回调

◆ addPhotoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure: [2/2]

- (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 

添加离线临时密码

Parameters
devId设备ID
pwdType密码类型
gmtStart开始时间
gmtExpired结束时间
pwdName密码名称
countryCode手机号国家码
mobile手机号
success成功回调
failure失败回调

◆ addPhotoLockPanelMemberWithDevId:name:avatar:sex:birthday:height:weight:localHeightUnit:success:failure: [1/2]

- (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 

添加面板成员

Parameters
devId设备ID
name用户名称
avatar头像信息
sex性别(0未知 1男 2女)
birthday生日(时间戳)
height身高
weight体重
localHeightUnitApp单位(CM 厘米 INCH 英寸)
success成功回调
failure失败回调

◆ addPhotoLockPanelMemberWithDevId:name:avatar:sex:birthday:height:weight:localHeightUnit:success:failure: [2/2]

- (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 

添加面板成员

Parameters
devId设备ID
name用户名称
avatar头像信息
sex性别(0未知 1男 2女)
birthday生日(时间戳)
height身高
weight体重
localHeightUnitApp单位(CM 厘米 INCH 英寸)
success成功回调
failure失败回调

◆ addPhotoLockTemporaryPasswordWithDevId:name:phone:effectiveTime:invalidTime:password:schedule:countryCode:availTime:success:failure: [1/2]

- (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 

添加在线临时密码

Parameters
devId设备ID
name密码名称
phone手机号
effectiveTime生效时间
invalidTime失效时间
password密码
schedule周期
countryCode手机的国家码
availTime可用次数
success成功回调
failure失败回调

◆ addPhotoLockTemporaryPasswordWithDevId:name:phone:effectiveTime:invalidTime:password:schedule:countryCode:availTime:success:failure: [2/2]

- (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 

添加在线临时密码

Parameters
devId设备ID
name密码名称
phone手机号
effectiveTime生效时间
invalidTime失效时间
password密码
schedule周期
countryCode手机的国家码
availTime可用次数
success成功回调
failure失败回调

◆ addVideoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure: [1/2]

- (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 

添加离线临时密码

Parameters
devId设备ID
pwdType密码类型
gmtStart开始时间
gmtExpired结束时间
pwdName密码类型(0.多次1.单次9.清空密码)
countryCode手机的国家码
mobile手机号
success成功回调
failure失败回调

◆ addVideoLockOfflinePasswordWithDevId:pwdType:gmtStart:gmtExpired:pwdName:countryCode:mobile:success:failure: [2/2]

- (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 

添加离线临时密码

Parameters
devId设备ID
pwdType密码类型
gmtStart开始时间
gmtExpired结束时间
pwdName密码类型(0.多次1.单次9.清空密码)
countryCode手机的国家码
mobile手机号
success成功回调
failure失败回调

◆ addVideoLockTemporaryPasswordWithDevId:name:password:effectiveTime:invalidTime:availTime:sn:schedule:symbolic:dpTunnel:success:failure: [1/2]

- (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 

添加在线临时密码

Parameters
devId设备ID
name密码名称
password密码内容
effectiveTime生效时间
invalidTime失效时间
availTime可用次数
sn临时密码编号
schedule周期
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ addVideoLockTemporaryPasswordWithDevId:name:password:effectiveTime:invalidTime:availTime:sn:schedule:symbolic:dpTunnel:success:failure: [2/2]

- (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 

添加在线临时密码

Parameters
devId设备ID
name密码名称
password密码内容
effectiveTime生效时间
invalidTime失效时间
availTime可用次数
sn临时密码编号
schedule周期
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ bindHistoryLogToUserWithDevId:userId:unlockIds:success:failure: [1/2]

- (void) bindHistoryLogToUserWithDevId: (NSString *)  devId
userId: (NSString *)  userId
unlockIds: (NSArray *)  unlockIds
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

绑定历史记录到人

Parameters
devId设备ID
userId用户ID
unlockIds解锁方式列表
success成功回调
failure失败回调

◆ bindHistoryLogToUserWithDevId:userId:unlockIds:success:failure: [2/2]

- (void) bindHistoryLogToUserWithDevId: (NSString *)  devId
userId: (NSString *)  userId
unlockIds: (NSArray *)  unlockIds
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

绑定历史记录到人

Parameters
devId设备ID
userId用户ID
unlockIds解锁方式列表
success成功回调
failure失败回调

◆ deletePhotoLockPanelMemberWithDevId:userId:success:failure: [1/2]

- (void) deletePhotoLockPanelMemberWithDevId: (NSString *)  devId
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除面板成员信息

Parameters
devId设备ID
userId用户编号
success成功回调
failure失败回调

◆ deletePhotoLockPanelMemberWithDevId:userId:success:failure: [2/2]

- (void) deletePhotoLockPanelMemberWithDevId: (NSString *)  devId
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除面板成员信息

Parameters
devId设备ID
userId用户编号
success成功回调
failure失败回调

◆ deletePhotoLockTemporaryPasswordWithDevId:pwdId:success:failure: [1/2]

- (void) deletePhotoLockTemporaryPasswordWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除临时密码

Parameters
devId设备ID
pwdId密码编号
success成功回调
failure失败回调

◆ deletePhotoLockTemporaryPasswordWithDevId:pwdId:success:failure: [2/2]

- (void) deletePhotoLockTemporaryPasswordWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除临时密码

Parameters
devId设备ID
pwdId密码编号
success成功回调
failure失败回调

◆ deleteVideoLockTemporaryPasswordWithDevId:unlockBindingId:symbolic:dpTunnel:success:failure: [1/2]

- (void) deleteVideoLockTemporaryPasswordWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
symbolic: (BOOL)  symbolic
dpTunnel: (NSInteger)  dpTunnel
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除临时密码

Parameters
devId设备ID
unlockBindingId临时密码序号
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ deleteVideoLockTemporaryPasswordWithDevId:unlockBindingId:symbolic:dpTunnel:success:failure: [2/2]

- (void) deleteVideoLockTemporaryPasswordWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
symbolic: (BOOL)  symbolic
dpTunnel: (NSInteger)  dpTunnel
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

删除临时密码

Parameters
devId设备ID
unlockBindingId临时密码序号
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ getAlbumListWithDevId:success:failure: [1/2]

- (void) getAlbumListWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取相册列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getAlbumListWithDevId:success:failure: [2/2]

- (void) getAlbumListWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取相册列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getDeviceLogsWithDevId:logCategories:userIds:onlyShowMediaRecord:startTime:endTime:lastRowKey:userType:userId:limit:success:failure: [1/2]

- (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 

查询日志记录

Parameters
devId设备ID
logCategories日志大类
userIds需要筛选的用户列表
onlyShowMediaRecord是否筛选带图像的记录
startTime开始时间
endTime结束时间
lastRowKey查询分页的参数
userType用户体系类型,空默认的是家庭用户体系0家庭体系1面板用户体系
userId面板用户编号
limit每页数据个数
success成功回调
failure失败回调

◆ getDeviceLogsWithDevId:logCategories:userIds:onlyShowMediaRecord:startTime:endTime:lastRowKey:userType:userId:limit:success:failure: [2/2]

- (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 

查询日志记录

Parameters
devId设备ID
logCategories日志大类
userIds需要筛选的用户列表
onlyShowMediaRecord是否筛选带图像的记录
startTime开始时间
endTime结束时间
lastRowKey查询分页的参数
userType用户体系类型,空默认的是家庭用户体系0家庭体系1面板用户体系
userId面板用户编号
limit每页数据个数
success成功回调
failure失败回调

◆ getDeviceRotateWithDevId:success:failure: [1/2]

- (void) getDeviceRotateWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取设备旋转角度

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getDeviceRotateWithDevId:success:failure: [2/2]

- (void) getDeviceRotateWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取设备旋转角度

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getLatestDeviceLogWithDevId:userType:userId:success:failure: [1/2]

- (void) getLatestDeviceLogWithDevId: (NSString *)  devId
userType: (NSInteger)  userType
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

查询最近一条日志记录

Parameters
devId设备ID
userType用户体系类型,0是家庭体系 1是面板用户体系
userId用户编号
success成功回调
failure失败回调

◆ getLatestDeviceLogWithDevId:userType:userId:success:failure: [2/2]

- (void) getLatestDeviceLogWithDevId: (NSString *)  devId
userType: (NSInteger)  userType
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

查询最近一条日志记录

Parameters
devId设备ID
userType用户体系类型,0是家庭体系 1是面板用户体系
userId用户编号
success成功回调
failure失败回调

◆ getOfflinePasswordListWithDevId:pwdType:status:offset:limit:success:failure: [1/2]

- (void) getOfflinePasswordListWithDevId: (NSString *)  devId
pwdType: (NSString *)  pwdType
status: (NSInteger)  status
offset: (NSInteger)  offset
limit: (NSInteger)  limit
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取离线密码列表

Parameters
devId设备ID
pwdType密码类型
status密码状态
offset页码
limit记录数(默认50)
success成功回调
failure失败回调

◆ getOfflinePasswordListWithDevId:pwdType:status:offset:limit:success:failure: [2/2]

- (void) getOfflinePasswordListWithDevId: (NSString *)  devId
pwdType: (NSString *)  pwdType
status: (NSInteger)  status
offset: (NSInteger)  offset
limit: (NSInteger)  limit
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取离线密码列表

Parameters
devId设备ID
pwdType密码类型
status密码状态
offset页码
limit记录数(默认50)
success成功回调
failure失败回调

◆ getPhotoLockMemberCountWithDevId:success:failure: [1/2]

- (void) getPhotoLockMemberCountWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

成员管理接口 统计成员个数

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getPhotoLockMemberCountWithDevId:success:failure: [2/2]

- (void) getPhotoLockMemberCountWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

成员管理接口 统计成员个数

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getPhotoLockMemberPanelListWithDevId:success:failure: [1/2]

- (void) getPhotoLockMemberPanelListWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

查询面板成员列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getPhotoLockMemberPanelListWithDevId:success:failure: [2/2]

- (void) getPhotoLockMemberPanelListWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

查询面板成员列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getPhotoLockOfflineEmptyCodeWithDevId:pwdId:success:failure: [1/2]

- (void) getPhotoLockOfflineEmptyCodeWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取某个离线临时密码的清空码

Parameters
devId设备ID
pwdId密码编号
success成功回调
failure失败回调

◆ getPhotoLockOfflineEmptyCodeWithDevId:pwdId:success:failure: [2/2]

- (void) getPhotoLockOfflineEmptyCodeWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取某个离线临时密码的清空码

Parameters
devId设备ID
pwdId密码编号
success成功回调
failure失败回调

◆ getPhotoLockPanelMemberDetailWithDevId:userId:success:failure: [1/2]

- (void) getPhotoLockPanelMemberDetailWithDevId: (NSString *)  devId
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取面板成员详情

Parameters
devId设备ID
userId用户编号
success成功回调
failure失败回调

◆ getPhotoLockPanelMemberDetailWithDevId:userId:success:failure: [2/2]

- (void) getPhotoLockPanelMemberDetailWithDevId: (NSString *)  devId
userId: (NSString *)  userId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取面板成员详情

Parameters
devId设备ID
userId用户编号
success成功回调
failure失败回调

◆ getPhotoLockTemporaryPasswordWithDevId:success:failure: [1/2]

- (void) getPhotoLockTemporaryPasswordWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

在线密码接口 获取在线临时密码列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getPhotoLockTemporaryPasswordWithDevId:success:failure: [2/2]

- (void) getPhotoLockTemporaryPasswordWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

在线密码接口 获取在线临时密码列表

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getReavailableOfflinePasswordWithDevId:success:failure: [1/2]

- (void) getReavailableOfflinePasswordWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取可分配的不限次数离线密码

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getReavailableOfflinePasswordWithDevId:success:failure: [2/2]

- (void) getReavailableOfflinePasswordWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取可分配的不限次数离线密码

Parameters
devId设备ID
success成功回调
failure失败回调

◆ getVideoLockOfflineEmptyCodeWithDevId:unlockBindingId:name:success:failure: [1/2]

- (void) getVideoLockOfflineEmptyCodeWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取某个离线临时密码的清空码

Parameters
devId设备ID
unlockBindingId密码的授权编号
name离线删除密码的名称
success成功回调
failure失败回调

◆ getVideoLockOfflineEmptyCodeWithDevId:unlockBindingId:name:success:failure: [2/2]

- (void) getVideoLockOfflineEmptyCodeWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取某个离线临时密码的清空码

Parameters
devId设备ID
unlockBindingId密码的授权编号
name离线删除密码的名称
success成功回调
failure失败回调

◆ getVideoLockSnNumberWithDevId:dpId:success:failure: [1/2]

- (void) getVideoLockSnNumberWithDevId: (NSString *)  devId
dpId: (NSInteger)  dpId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取可视对讲门锁sn

Parameters
devId设备ID
dpId开门方式dpId
success成功回调
failure失败回调

◆ getVideoLockSnNumberWithDevId:dpId:success:failure: [2/2]

- (void) getVideoLockSnNumberWithDevId: (NSString *)  devId
dpId: (NSInteger)  dpId
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取可视对讲门锁sn

Parameters
devId设备ID
dpId开门方式dpId
success成功回调
failure失败回调

◆ getVideoLockTemporaryPasswordWithDevId:authTypes:success:failure: [1/2]

- (void) getVideoLockTemporaryPasswordWithDevId: (NSString *)  devId
authTypes: (NSArray *)  authTypes
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取在线临时密码列表

Parameters
devId设备ID
authTypes查询的授权类型
success成功回调
failure失败回调

◆ getVideoLockTemporaryPasswordWithDevId:authTypes:success:failure: [2/2]

- (void) getVideoLockTemporaryPasswordWithDevId: (NSString *)  devId
authTypes: (NSArray *)  authTypes
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

获取在线临时密码列表

Parameters
devId设备ID
authTypes查询的授权类型
success成功回调
failure失败回调

◆ isCurrentOfflinePasswordAvailableWithDevId:pwdType:success:failure: [1/2]

- (void) isCurrentOfflinePasswordAvailableWithDevId: (NSString *)  devId
pwdType: (NSInteger)  pwdType
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

离线密码接口 判断当前类型的密码是否可以继续获取

Parameters
devId设备ID
pwdType密码类型
success成功回调
failure失败回调

◆ isCurrentOfflinePasswordAvailableWithDevId:pwdType:success:failure: [2/2]

- (void) isCurrentOfflinePasswordAvailableWithDevId: (NSString *)  devId
pwdType: (NSInteger)  pwdType
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

离线密码接口 判断当前类型的密码是否可以继续获取

Parameters
devId设备ID
pwdType密码类型
success成功回调
failure失败回调

◆ remoteUnlockAvailableWithDevId:success:failure: [1/2]

- (void) remoteUnlockAvailableWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

用户是否可以远程开门

Parameters
devId设备ID
success成功回调
failure失败回调

◆ remoteUnlockAvailableWithDevId:success:failure: [2/2]

- (void) remoteUnlockAvailableWithDevId: (NSString *)  devId
success: (ThingSuccessID success
failure: (ThingFailureError failure 

用户是否可以远程开门

Parameters
devId设备ID
success成功回调
failure失败回调

◆ removeHijackingConfigWithDevId:dpId:dpValue:success:failure: [1/2]

- (void) removeHijackingConfigWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
dpValue: (NSString *)  dpValue
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

移除防劫持设置

Parameters
devId设备ID
dpIddpId
dpValuedp值
success成功回调
failure失败回调

◆ removeHijackingConfigWithDevId:dpId:dpValue:success:failure: [2/2]

- (void) removeHijackingConfigWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
dpValue: (NSString *)  dpValue
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

移除防劫持设置

Parameters
devId设备ID
dpIddpId
dpValuedp值
success成功回调
failure失败回调

◆ setHijackingConfigWithDevId:dpId:dpValue:success:failure: [1/2]

- (void) setHijackingConfigWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
dpValue: (NSString *)  dpValue
success: (ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

设置防劫持

Parameters
devId设备ID
dpIddpId
dpValuedp值
success成功回调
failure失败回调

◆ setHijackingConfigWithDevId:dpId:dpValue:success:failure: [2/2]

- (void) setHijackingConfigWithDevId: (NSString *)  devId
dpId: (NSString *)  dpId
dpValue: (NSString *)  dpValue
success: (ThingSuccessBOOL success
failure: (nullable ThingFailureError failure 

设置防劫持

Parameters
devId设备ID
dpIddpId
dpValuedp值
success成功回调
failure失败回调

◆ setPhotoLockOfflinePasswordNameWithDevId:pwdId:pwdName:mobile:success:failure: [1/2]

- (void) setPhotoLockOfflinePasswordNameWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
pwdName: (NSString *)  pwdName
mobile: (NSString *)  mobile
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

设置离线密码名称

Parameters
devId设备ID
pwdId密码编号
pwdName密码名称
mobile手机号
success成功回调
failure失败回调

◆ setPhotoLockOfflinePasswordNameWithDevId:pwdId:pwdName:mobile:success:failure: [2/2]

- (void) setPhotoLockOfflinePasswordNameWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
pwdName: (NSString *)  pwdName
mobile: (NSString *)  mobile
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

设置离线密码名称

Parameters
devId设备ID
pwdId密码编号
pwdName密码名称
mobile手机号
success成功回调
failure失败回调

◆ setVideoLockOfflinePasswordNameWithDevId:unlockBindingId:pwdName:success:failure: [1/2]

- (void) setVideoLockOfflinePasswordNameWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
pwdName: (NSString *)  pwdName
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

设置离线密码名称

Parameters
devId设备ID
unlockBindingId密码编号
pwdName密码名称
success成功回调
failure失败回调

◆ setVideoLockOfflinePasswordNameWithDevId:unlockBindingId:pwdName:success:failure: [2/2]

- (void) setVideoLockOfflinePasswordNameWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
pwdName: (NSString *)  pwdName
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

设置离线密码名称

Parameters
devId设备ID
unlockBindingId密码编号
pwdName密码名称
success成功回调
failure失败回调

◆ updateBLELockTemporaryPasswordWithDevId:name:password:unlockBindingId:effectiveTime:invalidTime:phase:schedule:symbolic:dpTunnel:success:failure: [1/2]

- (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 

更新自定义密码临时密码信息

Parameters
devId设备ID
name密码名称
password密码内容
unlockBindingId密码编号
effectiveTime生效时间
invalidTime失效时间
phase2.正常 4.冻结
schedule周期
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ updateBLELockTemporaryPasswordWithDevId:name:password:unlockBindingId:effectiveTime:invalidTime:phase:schedule:symbolic:dpTunnel:success:failure: [2/2]

- (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 

更新自定义密码临时密码信息

Parameters
devId设备ID
name密码名称
password密码内容
unlockBindingId密码编号
effectiveTime生效时间
invalidTime失效时间
phase2.正常 4.冻结
schedule周期
symbolic是否需要下发dp,复合通信门锁生效
dpTunnel如果需要下发dp,当前需要走的dp下发通道,复合通信门锁生效
success成功回调
failure失败回调

◆ updatePhotoLockPanelMemberWithDevId:userId:userName:avatar:success:failure: [1/2]

- (void) updatePhotoLockPanelMemberWithDevId: (NSString *)  devId
userId: (NSString *)  userId
userName: (NSString *)  userName
avatar: (NSString *)  avatar
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新面板成员信息

Parameters
devId设备ID
userId用户编号
userName用户名称
avatar头像信息
success成功回调
failure失败回调

◆ updatePhotoLockPanelMemberWithDevId:userId:userName:avatar:success:failure: [2/2]

- (void) updatePhotoLockPanelMemberWithDevId: (NSString *)  devId
userId: (NSString *)  userId
userName: (NSString *)  userName
avatar: (NSString *)  avatar
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新面板成员信息

Parameters
devId设备ID
userId用户编号
userName用户名称
avatar头像信息
success成功回调
failure失败回调

◆ updatePhotoLockTemporaryPasswordNameWithDevId:pwdId:name:success:failure: [1/2]

- (void) updatePhotoLockTemporaryPasswordNameWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新临时密码名称

Parameters
devId设备ID
pwdId密码编号
name名称
success成功回调
failure失败回调

◆ updatePhotoLockTemporaryPasswordNameWithDevId:pwdId:name:success:failure: [2/2]

- (void) updatePhotoLockTemporaryPasswordNameWithDevId: (NSString *)  devId
pwdId: (NSInteger)  pwdId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新临时密码名称

Parameters
devId设备ID
pwdId密码编号
name名称
success成功回调
failure失败回调

◆ updateVideoLockTemporaryPasswordNameWithDevId:unlockBindingId:name:success:failure: [1/2]

- (void) updateVideoLockTemporaryPasswordNameWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新临时密码名称

Parameters
devId设备ID
unlockBindingId临时密码序号
name名称
success成功回调
failure失败回调

◆ updateVideoLockTemporaryPasswordNameWithDevId:unlockBindingId:name:success:failure: [2/2]

- (void) updateVideoLockTemporaryPasswordNameWithDevId: (NSString *)  devId
unlockBindingId: (NSInteger)  unlockBindingId
name: (NSString *)  name
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

更新临时密码名称

Parameters
devId设备ID
unlockBindingId临时密码序号
name名称
success成功回调
failure失败回调

◆ uploadBLELockOperationLogWithDevId:logType:data:success:failure: [1/2]

- (void) uploadBLELockOperationLogWithDevId: (NSString *)  devId
logType: (NSString *)  logType
data: (NSString *)  data
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

上报操作日志记录

Parameters
devId设备ID
logType日志类型
data业务参数
success成功回调
failure失败回调

◆ uploadBLELockOperationLogWithDevId:logType:data:success:failure: [2/2]

- (void) uploadBLELockOperationLogWithDevId: (NSString *)  devId
logType: (NSString *)  logType
data: (NSString *)  data
success: (ThingSuccessID success
failure: (nullable ThingFailureError failure 

上报操作日志记录

Parameters
devId设备ID
logType日志类型
data业务参数
success成功回调
failure失败回调

◆ validateBLELockTemporaryPasswordWithDevId:name:phone:unlockBindingId:effectiveTime:invalidTime:password:schedule:countryCode:success:failure: [1/2]

- (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 

临时密码参数有效性校验

Parameters
devId设备ID
name密码名称
phone手机号
unlockBindingId密码编号
effectiveTime生效时间
invalidTime失效时间
password密码
schedule周期
countryCode手机的国家码
success成功回调
failure失败回调

◆ validateBLELockTemporaryPasswordWithDevId:name:phone:unlockBindingId:effectiveTime:invalidTime:password:schedule:countryCode:success:failure: [2/2]

- (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 

临时密码参数有效性校验

Parameters
devId设备ID
name密码名称
phone手机号
unlockBindingId密码编号
effectiveTime生效时间
invalidTime失效时间
password密码
schedule周期
countryCode手机的国家码
success成功回调
failure失败回调

The documentation for this class was generated from the following files: