engineSetMaxSuffixSilenceMs method

  1. @override
Future<void> engineSetMaxSuffixSilenceMs(
  1. int suffixSilenceMs
)
override

设置评测 的后置静音时间, 单位毫秒,默认为0 ,不开启静音检测,优先级大于 maxSuffixSilence

Implementation

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