public static enum AudioRecorderComponent.RecorderState extends Enum<AudioRecorderComponent.RecorderState>
Enum Constant and Description |
---|
Accepted
The user has accepted the recording.
|
Canceled
The user chose to cancel the recording.
|
Initialized
The recorder is initialized.
|
Initializing
The recorder is initializing.
|
NotInitialized
The recorder is not initialized yet.
|
Paused
The recorder is currently paused.
|
Pending
The recording is currently pending.
|
Recording
The recorder is currently recording.
|
Modifier and Type | Method and Description |
---|---|
static AudioRecorderComponent.RecorderState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioRecorderComponent.RecorderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
public static final AudioRecorderComponent.RecorderState Initializing
public static final AudioRecorderComponent.RecorderState Recording
public static final AudioRecorderComponent.RecorderState Paused
public static final AudioRecorderComponent.RecorderState Pending
public static final AudioRecorderComponent.RecorderState Canceled
public static final AudioRecorderComponent.RecorderState Accepted
public static final AudioRecorderComponent.RecorderState Initialized
public static final AudioRecorderComponent.RecorderState NotInitialized
public static AudioRecorderComponent.RecorderState[] values()
for (AudioRecorderComponent.RecorderState c : AudioRecorderComponent.RecorderState.values()) System.out.println(c);
public static AudioRecorderComponent.RecorderState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null