getInstallCanRetry method

void getInstallCanRetry(
  1. EventHandler installHandler, [
  2. int seconds = 3
])

Implementation

void getInstallCanRetry(EventHandler installHandler, [int seconds = 3]) {
  if (Platform.isAndroid) {
    var args = new Map();
    args["seconds"] = seconds;
    this._installHandler = installHandler;
    _channel.invokeMethod('getInstallCanRetry', args);
  } else {
    // 仅使用于 Android 平台
  }
}