public static enum SpeechContext.Event extends Enum<SpeechContext.Event>
Enum Constant and Description |
---|
ACTIVATE
speech recognition has become active.
|
DEACTIVATE
speech recognition has become inactive.
|
ERROR
a speech error occurred.
|
RECOGNIZE
speech was recognized.
|
TIMEOUT
the activation timeout expired.
|
TRACE
a trace event occurred.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SpeechContext.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpeechContext.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeechContext.Event ACTIVATE
public static final SpeechContext.Event DEACTIVATE
public static final SpeechContext.Event RECOGNIZE
public static final SpeechContext.Event TIMEOUT
public static final SpeechContext.Event ERROR
public static final SpeechContext.Event TRACE
public static SpeechContext.Event[] values()
for (SpeechContext.Event c : SpeechContext.Event.values()) System.out.println(c);
public static SpeechContext.Event 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 nullpublic String toString()
toString
in class Enum<SpeechContext.Event>
Copyright © 2020. All rights reserved.