onRecordAudioFrame method

FutureOr<void> onRecordAudioFrame(
  1. IAudioFrame audioFrame
)

@detail callback @author wangjunzheng @brief Returns the audio data recorded by local microphone. @param audioFrame Audio data. See IAudioFrame{@link #IAudioFrame}.

Implementation

FutureOr<void> onRecordAudioFrame(IAudioFrame audioFrame) async {}