setLockAutomaticLockingPeriodicTime static method

void setLockAutomaticLockingPeriodicTime(
  1. int time,
  2. String lockData,
  3. TTSuccessCallback callback,
  4. 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);
  }