videoCall method

  1. @override
Future<bool> videoCall(
  1. String name,
  2. String pinyin,
  3. bool toast, {
  4. double delayScale = 1.0,
  5. int pauseAfterStepMs = 0,
})
override

Implementation

@override
Future<bool> videoCall(
  String name,
  String pinyin,
  bool toast, {
  double delayScale = 1.0,
  int pauseAfterStepMs = 0,
}) async {
  try {
    return await methodChannel.invokeMethod('videoCall', {
      'name': name,
      'pinyin': pinyin,
      'video': true,
      'toast': toast,
      'delayScale': delayScale,
      'pauseAfterStepMs': pauseAfterStepMs,
    });
  } on PlatformException catch (error) {
    debugPrint("$error");
    return false;
  }
}