finish

fun finish()

Stops the recording and calls the completion handler.