deleteRecord()

The τ Recorder API


deleteRecord()

Delete a temporary file created during [startRecorder()].

This function is seldom used, because [closeAudioSession()] delete automaticaly all the temporary files created.

Example:

        await myRecorder.startRecorder(toFile: 'foo'); // This is a temporary file, because no slash '/' in the argument
        await myPlayer.startPlayer(fromURI: 'foo');
        await myRecorder.deleteRecord('foo');
        Lorem ipsum ...

Tags: api recorder