public abstract class TTSComponent extends Object
TTSListener
s.Constructor and Description |
---|
TTSComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(TTSListener listener)
Add a TTS listener to receive events from this component.
|
void |
dispatch(TTSEvent event)
Notify all subscribed TTS listeners that an event has occurred.
|
public void addListener(TTSListener listener)
listener
- The listener to add.public void dispatch(TTSEvent event)
event
- The event that has occurred.Copyright © 2020. All rights reserved.