class Recording : AutoCloseable


A recording started with RecorderCommands.start. This interface allows awaits for completion, if a time limit was specified or force stop the recording.

Summary

Public functions

open Unit

Stops the current recording.

Boolean

Returns whether the recording is still running.

Public functions

close

Added in 2.4.0-beta01
open fun close(): Unit

Stops the current recording.

Waits for up to 10 seconds for the recorder process to stop.

isRunning

Added in 2.4.0-beta01
fun isRunning(): Boolean

Returns whether the recording is still running.