public enum AudioRecorderComponent.RecorderState
- Object
- Enum<AudioRecorderComponent.RecorderState>
- AudioRecorderComponent.RecorderState
Enum for tracking the recorder state.
Enum constants
Initializing | The recorder is initializing. |
Recording | The recorder is currently recording. |
Paused | The recorder is currently paused. |
Pending | The recording is currently pending. |
Canceled | The user chose to cancel the recording. |
Accepted | The user has accepted the recording. |
Initialized | The recorder is initialized. |
NotInitialized | The recorder is not initialized yet. |
Methods
public static AudioRecorderComponent.RecorderState[] values() | |
public static AudioRecorderComponent.RecorderState valueOf(String name) |
Inherited methods
Enum constant details
Initializing
InitializingThe recorder is initializing.
Recording
RecordingThe recorder is currently recording.
Paused
PausedThe recorder is currently paused.
Pending
PendingThe recording is currently pending. This recorder is in this state while the user is deciding whether to accept
the recording.
Canceled
CanceledThe user chose to cancel the recording.
Accepted
AcceptedThe user has accepted the recording.
Initialized
InitializedThe recorder is initialized.
NotInitialized
NotInitializedThe recorder is not initialized yet.
Method details
values
public static AudioRecorderComponent.RecorderState[] values()valueOf
public static AudioRecorderComponent.RecorderState valueOf(String name)