public interface TextToSpeechEngine
| Modifier and Type | Method and Description |
|---|---|
android.speech.tts.Voice |
getCurrentVoice() |
java.util.List<android.speech.tts.Voice> |
getSupportedVoices() |
void |
initTextToSpeech(android.content.Context context) |
boolean |
isSpeaking() |
void |
say(java.lang.String message,
TextToSpeechCallback callback) |
void |
setAudioStream(int audioStream) |
void |
setLocale(java.util.Locale locale) |
void |
setOnInitListener(android.speech.tts.TextToSpeech.OnInitListener onInitListener) |
void |
setPitch(float pitch) |
void |
setSpeechRate(float rate) |
void |
setTextToSpeechQueueMode(int mode) |
void |
setVoice(android.speech.tts.Voice voice) |
void |
shutdown() |
void |
stop() |
void initTextToSpeech(android.content.Context context)
boolean isSpeaking()
void say(java.lang.String message,
TextToSpeechCallback callback)
void stop()
void shutdown()
void setTextToSpeechQueueMode(int mode)
void setAudioStream(int audioStream)
void setOnInitListener(android.speech.tts.TextToSpeech.OnInitListener onInitListener)
void setPitch(float pitch)
void setSpeechRate(float rate)
void setLocale(java.util.Locale locale)
void setVoice(android.speech.tts.Voice voice)
java.util.List<android.speech.tts.Voice> getSupportedVoices()
android.speech.tts.Voice getCurrentVoice()