AudioCapture
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
AudioCapture
AudioCapture
/
dev.piotrprus.audiocapture
/
CaptureState
Capture
State
sealed
interface
CaptureState
(
source
)
Inheritors
Recording
Paused
Stopped
Members
Types
Paused
Link copied to clipboard
data
class
Paused
(
val
reason
:
PauseReason
)
:
CaptureState
Recording
Link copied to clipboard
data
object
Recording
:
CaptureState
Stopped
Link copied to clipboard
data
class
Stopped
(
val
error
:
AudioCaptureException
?
=
null
)
:
CaptureState
Terminal.
error
is set when the microphone failed rather than being stopped.