Skip to main content Link Menu Expand (external link) Document Search Copy Copied
resumeRecorder method - FlutterSoundRecorder class - recorder library - Dart API
menu
resumeRecorder

resumeRecorder method

Future<void> resumeRecorder()

Resume a paused Recorder


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

Return

Returns a Future which is completed when the function is done.

Example

await myRecorder.resumeRecorder();

See also


Implementation

Future<void> resumeRecorder() async {
  _logger.d('FS:---> pausePlayer ');
  await _lock.synchronized(() async {
    await _resumeRecorder();
  });
  _logger.d('FS:<--- resumeRecorder ');
}
flutter_sound 9.25.3