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