public enum AudioRecorderComponent.RecorderState

  1. Object
  2. Enum<AudioRecorderComponent.RecorderState>
  3. AudioRecorderComponent.RecorderState

ImplementsComparable<AudioRecorderComponent.RecorderState>

Enum for tracking the recorder state.

Enum constants

InitializingThe recorder is initializing.
RecordingThe recorder is currently recording.
PausedThe recorder is currently paused.
PendingThe recording is currently pending.
CanceledThe user chose to cancel the recording.
AcceptedThe user has accepted the recording.
InitializedThe recorder is initialized.
NotInitializedThe recorder is not initialized yet.

Methods

public static AudioRecorderComponent.RecorderState[] values()
public static AudioRecorderComponent.RecorderState valueOf(String name)

Inherited methods

Enum constant details

Initializing

Initializing
The recorder is initializing.

Recording

Recording
The recorder is currently recording.

Paused

Paused
The recorder is currently paused.

Pending

Pending
The recording is currently pending. This recorder is in this state while the user is deciding whether to accept the recording.

Canceled

Canceled
The user chose to cancel the recording.

Accepted

Accepted
The user has accepted the recording.

Initialized

Initialized
The recorder is initialized.

NotInitialized

NotInitialized
The recorder is not initialized yet.

Method details

values

public static AudioRecorderComponent.RecorderState[] values()

valueOf

public static AudioRecorderComponent.RecorderState valueOf(String name)