com.googlecode.android_scripting.facade
Class TextToSpeechFacade
java.lang.Object
com.googlecode.android_scripting.jsonrpc.RpcReceiver
com.googlecode.android_scripting.facade.TextToSpeechFacade
@RpcMinSdk(value=4)
public class TextToSpeechFacade
- extends RpcReceiver
Provides Text To Speech services for API 4 or more.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextToSpeechFacade
public TextToSpeechFacade(FacadeManager manager)
shutdown
public void shutdown()
- Description copied from class:
RpcReceiver
- Invoked when the receiver is shut down.
- Specified by:
shutdown in class RpcReceiver
ttsSpeak
@Rpc(description="Speaks the provided message via TTS.")
public void ttsSpeak(@RpcParameter(name="message")
java.lang.String message)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
ttsIsSpeaking
@Rpc(description="Returns True if speech is currently in progress.")
public java.lang.Boolean ttsIsSpeaking()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException