Inheritance diagram for TextToSpeechAction:
Public Member Functions | |
TextToSpeechAction () | |
TextToSpeechAction (String wordsToSay) | |
void | close () |
Clean up resources. | |
void | initialize () |
void | invoke () |
Remote invocations should use this method. | |
void | speak () |
void | speak (String wordsToSpeak) |
Static Public Member Functions | |
static TextToSpeechAction | getInstance () |
This software is distributed under the BSD License.
Definition at line 27 of file TextToSpeechAction.java.
static TextToSpeechAction getInstance | ( | ) | [static] |
Definition at line 36 of file TextToSpeechAction.java.
References TextToSpeechAction.initialize(), and TextToSpeechAction.TextToSpeechAction().
void invoke | ( | ) |
Remote invocations should use this method.
Local invocations may also use this, but it might be more efficient to keep a TextToSpeechAction around, initialize it, and then call speak(String) repeatedly.
Implements R3Action.
Definition at line 142 of file TextToSpeechAction.java.
References TextToSpeechAction.close(), TextToSpeechAction.initialize(), and TextToSpeechAction.speak().
void speak | ( | String | wordsToSpeak | ) |