ConstStart a recording. Asks for the microphone permission if the user has not granted it yet.
An error if the permission is denied or a recording is already running.
Stop the current recording and return it.
The recording as a PickedFile. An error if no recording is running or the recording could not be saved.
Stop the current recording and delete it. Succeeds even if no recording is running.
Android only for now. Requires the microphone plugin to be enabled in the app configuration.
.m4a file.<audio src="...">.FileSaver.saveUrl if you need to keep it.
Microphone plugin for recording audio on the device.