CaptureState

sealed interface CaptureState(source)

Inheritors

Types

Link copied to clipboard
data class Paused(val reason: PauseReason) : CaptureState
Link copied to clipboard
data object Recording : CaptureState
Link copied to clipboard
data class Stopped(val error: AudioCaptureException? = null) : CaptureState

Terminal. error is set when the microphone failed rather than being stopped.