|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface SpeechSynthesis.SpeechSynthesisEvent
Used to notify SpeechSynthesis events.
| Field Summary | |
|---|---|
static int |
PLAY_FAILURE
The media failed to play. |
static int |
PLAY_STOPPED
The media was stopped either by calling the SpeechSynthesis.stop method, or interrupted by another media
event. |
static int |
PLAY_SUCCESSFUL
The media was played successfully to the end of the source file. |
| Method Summary | |
|---|---|
void |
stateChanged(int event,
java.lang.Exception exception)
Used to notify when SpeechSynthesis event changes. |
| Field Detail |
|---|
static final int PLAY_SUCCESSFUL
static final int PLAY_STOPPED
SpeechSynthesis.stop method, or interrupted by another media
event.
static final int PLAY_FAILURE
| Method Detail |
|---|
void stateChanged(int event,
java.lang.Exception exception)
event - PLAY_SUCCESSFUL, PLAY_STOPPED, or PLAY_FAILUREexception - Contains exception information or null if none is
available
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||