com.googlecode.android_scripting.facade
Class TextToSpeechFacade

java.lang.Object
  extended by com.googlecode.android_scripting.jsonrpc.RpcReceiver
      extended by com.googlecode.android_scripting.facade.TextToSpeechFacade

@RpcMinSdk(value=4)
public class TextToSpeechFacade
extends RpcReceiver

Provides Text To Speech services for API 4 or more.


Constructor Summary
TextToSpeechFacade(FacadeManager manager)
           
 
Method Summary
 void shutdown()
          Invoked when the receiver is shut down.
 java.lang.Boolean ttsIsSpeaking()
           
 void ttsSpeak(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextToSpeechFacade

public TextToSpeechFacade(FacadeManager manager)
Method Detail

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