startUpgradeGateway static method
dynamic
startUpgradeGateway(
- TTDfuType dfuType,
- String clientId,
- String accessToken,
- int gatewayId,
- String gatewayMac,
- TTUpgradeProgressCallback progressCallback,
- TTSuccessCallback successCallback,
- TTUpgradeFailedCallback failedCallback,
Implementation
static startUpgradeGateway(
TTDfuType dfuType,
String clientId,
String accessToken,
int gatewayId,
String gatewayMac,
TTUpgradeProgressCallback progressCallback,
TTSuccessCallback successCallback,
TTUpgradeFailedCallback failedCallback) {
Map map = Map();
map["dfuType"] = dfuType;
map["clientId"] = clientId;
map["accessToken"] = accessToken;
map["gatewayId"] = gatewayId;
map["gatewayMac"] = gatewayMac;
invoke("startUpgradeGateway", map, successCallback, progressCallback,
failedCallback);
}