stopAsync

suspend fun stopAsync(): AudioRecording?

Stops recording and waits for the recording to be ready (suspend version).

Return

The recorded audio, or null if no recording was made