engineSetConnectTimeout method

  1. @override
Future<void> engineSetConnectTimeout(
  1. int connectTimeout
)
override

设置评测的连接超时时间,只设置一次即可

Implementation

@override
Future<void> engineSetConnectTimeout(int connectTimeout) async{
  List<dynamic> params = [connectTimeout];
  await methodChannel.invokeMethod('engineSetConnectTimeout', params);
  return;
}