voiceToText method

Future<NIMResult<String>> voiceToText(
  1. {required NIMVoiceToTextParams params}
)

语音转文字

  • Parameter params: 语音转文字参数

Implementation

Future<NIMResult<String>> voiceToText(
    {required NIMVoiceToTextParams params}) async {
  return _platform.voiceToText(params: params);
}