startUpgradeLock static method

dynamic startUpgradeLock(
  1. String lockmac,
  2. String lockData,
  3. String firmwarePackage,
  4. TTUpgradeProgressCallback progressCallback,
  5. TTUpgradeLockSuccessCallback successCallback,
  6. TTUpgradeFailedCallback failedCallback,
)

Implementation

static startUpgradeLock(
    String lockmac,
    String lockData,
    String firmwarePackage,
    TTUpgradeProgressCallback progressCallback,
    TTUpgradeLockSuccessCallback successCallback,
    TTUpgradeFailedCallback failedCallback) {
  Map map = Map();
  map["lockmac"] = lockmac;
  map["lockData"] = lockData;
  map["firmwarePackage"] = firmwarePackage;
  invoke("startUpgradeLock", map, successCallback, progressCallback,
      failedCallback);
}