public static enum RecorderSpeechRecognizer.RecordState extends java.lang.Enum<RecorderSpeechRecognizer.RecordState>
| Enum Constant and Description |
|---|
ERROR |
INITIALIZED |
INITIALIZING |
RECORDING |
STOPPED |
STOPPING |
| Modifier and Type | Method and Description |
|---|---|
static RecorderSpeechRecognizer.RecordState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecorderSpeechRecognizer.RecordState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecorderSpeechRecognizer.RecordState STOPPED
public static final RecorderSpeechRecognizer.RecordState INITIALIZING
public static final RecorderSpeechRecognizer.RecordState INITIALIZED
public static final RecorderSpeechRecognizer.RecordState RECORDING
public static final RecorderSpeechRecognizer.RecordState STOPPING
public static final RecorderSpeechRecognizer.RecordState ERROR
public static RecorderSpeechRecognizer.RecordState[] values()
for (RecorderSpeechRecognizer.RecordState c : RecorderSpeechRecognizer.RecordState.values()) System.out.println(c);
public static RecorderSpeechRecognizer.RecordState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null