pauseRecorder method

  1. @override
Future<void> pauseRecorder(
  1. FlutterSoundRecorderCallback callback
)
override

Implementation

@override
Future<void> pauseRecorder(
  FlutterSoundRecorderCallback callback,
) async {
  if (mediaRecorderWeb != null) {
    return mediaRecorderWeb!.pauseRecorder(callback);
    //} else if (sub != null) {
    //  audioCtx!.suspend();
  } else {
    getWebSession(callback)!.pauseRecorder();
  }
  //_recorderState = RecorderState.isPaused;
}