setLockAutomaticLockingPeriodicTime static method
void
setLockAutomaticLockingPeriodicTime(
- int time,
- String lockData,
- TTSuccessCallback callback,
- TTFailedCallback failedCallback,
Set the lock automatic locking periodic time
time (sec) lockData The lock data string used to operate lock
Implementation
static void setLockAutomaticLockingPeriodicTime(int time, String lockData,
TTSuccessCallback callback, TTFailedCallback failedCallback) {
Map map = Map();
map[TTResponse.currentTime] = time;
map[TTResponse.lockData] = lockData;
invoke(COMMAND_SET_AUTOMATIC_LOCK_PERIODIC_TIME, map, callback,
fail: failedCallback);
}