startRecordAudio method

  1. @override
Future<void> startRecordAudio([
  1. IatAudioParams? params
])
override

开始录音

Implementation

@override
Future<void> startRecordAudio([IatAudioParams? params]) {
  return methodChannel.invokeMethod(
    AiuiConstant.startRecordAudio,
    params == null ? null : jsonEncode(params.toMap()),
  );
}