public static enum SpeechRecognizerEvent.EventType extends Enum<SpeechRecognizerEvent.EventType>
Enum Constant and Description |
---|
ERROR |
RECOGNITION_CANCELED |
RECOGNITION_COMPLETE |
RECORDING_CANCELED |
RECORDING_COMPLETE |
Modifier and Type | Method and Description |
---|---|
static SpeechRecognizerEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpeechRecognizerEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeechRecognizerEvent.EventType RECORDING_COMPLETE
public static final SpeechRecognizerEvent.EventType RECOGNITION_COMPLETE
public static final SpeechRecognizerEvent.EventType RECORDING_CANCELED
public static final SpeechRecognizerEvent.EventType RECOGNITION_CANCELED
public static final SpeechRecognizerEvent.EventType ERROR
public static SpeechRecognizerEvent.EventType[] values()
for (SpeechRecognizerEvent.EventType c : SpeechRecognizerEvent.EventType.values()) System.out.println(c);
public static SpeechRecognizerEvent.EventType 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