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

closeRecorder method

Future<void> closeRecorder()

Close a Recorder

You must close your recorder when you have finished with it, for releasing the resources. Delete all the temporary files created with startRecorder()

Implementation

Future<void> closeRecorder() async {
  await _lock.synchronized(() {
    return _closeRecorder();
  });
}
flutter_sound 9.24.0