public abstract class SpeechSynthesisEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpeechSynthesisEvent.EventType
Types of synthesis event
|
Constructor and Description |
---|
SpeechSynthesisEvent() |
Modifier and Type | Method and Description |
---|---|
void |
onPlayCanceled()
The media failed to play.
|
void |
onPlayFailed(Exception e)
The media failed to play.
|
void |
onPlayStart()
The media started playing
|
void |
onPlayStopped()
The media was stopped either by calling the Stop() method, or interrupted
by another media event.
|
void |
onPlaySuccessful()
The media was played successfully to the end
|
public void onPlayStart()
public void onPlaySuccessful()
public void onPlayStopped()
public void onPlayFailed(Exception e)
public void onPlayCanceled()