getVerifyTokenWithTimeout_android static method

void getVerifyTokenWithTimeout_android(
  1. int timeout
)

android only 获取本机号码校验Token,通过setTokenResultCallback_android设置的监听回调结果 返回值格式示例如下:{msg: 获取token成功, code: 600000, requestId: xxx, requestCode: 0, vendorName: ct_sjl, carrierFailedResultData: , token: xxx} code值含义请参考文档

Implementation

static void getVerifyTokenWithTimeout_android(int timeout) {
  List<dynamic> params = [timeout];
  _channel.invokeMethod('getVerifyTokenWithTimeout', params);
}