TtlockUpgrade class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
invoke(String command, Object? parameter, dynamic success, TTUpgradeProgressCallback progress, TTUpgradeFailedCallback fail)
→ void
-
-
startUpgradeGateway(TTDfuType dfuType, String clientId, String accessToken, int gatewayId, String gatewayMac, TTUpgradeProgressCallback progressCallback, TTSuccessCallback successCallback, TTUpgradeFailedCallback failedCallback)
→ dynamic
-
-
startUpgradeGatewayByFirmwarePackage(String firmwarePackage, String gatewayMac, TTUpgradeProgressCallback progressCallback, TTSuccessCallback successCallback, TTUpgradeFailedCallback failedCallback)
→ dynamic
-
-
startUpgradeLock(String lockmac, String lockData, String firmwarePackage, TTUpgradeProgressCallback progressCallback, TTUpgradeLockSuccessCallback successCallback, TTUpgradeFailedCallback failedCallback)
→ dynamic
-
-
stopUpgradeGateway()
→ dynamic
-
-
stopUpgradeLock()
→ dynamic
-