@Implements(value=android.speech.tts.TextToSpeech.class) public class ShadowTextToSpeech extends java.lang.Object
| Constructor and Description | 
|---|
| ShadowTextToSpeech() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | __constructor__(android.content.Context context,
               android.speech.tts.TextToSpeech.OnInitListener listener) | 
| void | clearLastSpokenText() | 
| android.content.Context | getContext() | 
| java.lang.String | getLastSpokenText() | 
| android.speech.tts.TextToSpeech.OnInitListener | getOnInitListener() | 
| int | getQueueMode() | 
| boolean | isShutdown() | 
| boolean | isStopped() | 
| protected void | shutdown() | 
| protected int | speak(java.lang.CharSequence text,
     int queueMode,
     android.os.Bundle params,
     java.lang.String utteranceId) | 
| protected int | speak(java.lang.String text,
     int queueMode,
     java.util.HashMap<java.lang.String,java.lang.String> params)Speaks the string using the specified queuing strategy and speech parameters. | 
| protected int | stop() | 
@Implementation protected void __constructor__(android.content.Context context, android.speech.tts.TextToSpeech.OnInitListener listener)
@Implementation protected int speak(java.lang.String text, int queueMode, java.util.HashMap<java.lang.String,java.lang.String> params)
Speaks the string using the specified queuing strategy and speech parameters.
params - The real implementation converts the hashmap into a bundle, but the bundle  argument is not used in the shadow implementation.@Implementation(minSdk=21) protected int speak(java.lang.CharSequence text, int queueMode, android.os.Bundle params, java.lang.String utteranceId)
@Implementation protected void shutdown()
@Implementation protected int stop()
public android.content.Context getContext()
public android.speech.tts.TextToSpeech.OnInitListener getOnInitListener()
public java.lang.String getLastSpokenText()
public void clearLastSpokenText()
public boolean isShutdown()
public boolean isStopped()
true if the TTS is stopped.public int getQueueMode()