The Audio.stop function ends the background recording session for an Audio object. Background recording is started with the function Audio.record. The call to Audio.stop should be made to finish the recording session started with Audio.record. This function is not used for interactive recording with Audio.recordInteractive.
Audio recording is only supported on Android. This function will do nothing on Windows.
Return Value
The function returns the duration of the recorded audio in seconds (and fractional seconds) or default if the audio failed to record.