pause method

Future<void> pause()

Pause the recorder

On Android this API verb needs al least SDK-24. An exception is thrown if the Recorder is not currently recording.

Example:

await myRecorder.pauseRecorder();

Implementation

Future<void> pause() async {
  _logger.d('FS:---> pauseRecorder ');
  await _lock.synchronized(() async {
    await _pauseRecorder();
  });
  _logger.d('FS:<--- pauseRecorder ');
}