Open Platform
Skip to content

Reset lock ​

1、Reset lock ​
c
[TTLock resetLockWithLockData:_lockModel.lockData success:^{
 
        // [Network resetLock:lockId success:nil faile];
        NSLog(@"##############  Reset lock success  ##############");
 
    } failure:^(TTError errorCode, NSString *errorMsg) {
        NSLog(@"##############  error: %@  ##############",errorMsg);
}];

2、Request cloud API:Delete Lock in the success callback method to delete the lock from the cloud server.

CopyRight © 2012-2026 Sciener.All Rights Reserved