TextToSpeech

Just an initial demo map, so that you don't start with an empty map list ...

Get Started. It's Free
or sign up with your email address
Rocket clouds
TextToSpeech by Mind Map: TextToSpeech

1. Constants

1.1. String

1.1.1. ACTION_TTS_QUEUE_PROCESSING_COMPLETED

1.2. int

1.2.1. ERROR

1.2.2. LANG_AVAILABLE

1.2.3. LANG_COUNTRY_AVAILABLE

1.2.4. LANG_COUNTRY_VAR_AVAILABLE

1.2.5. LANG_MISSING_DATA

1.2.6. LANG_NOT_SUPPORTED

1.2.7. QUEUE_ADD

1.2.8. QUEUE_FLUSH

1.2.9. SUCCESS

2. Constuctors

2.1. TextToSpeech

2.1.1. TextToSpeech(Context context, TextToSpeech.OnInitListener listener)

2.1.2. TextToSpeech(Context context, TextToSpeech.OnInitListener listener, String engine)

3. Methods

3.1. int

3.1.1. addEarcon(String earcon, String filename)

3.1.2. addEarcon(String earcon, String packagename, int resourceId)

3.1.3. addSpeech(String text, String packagename, int resourceId)

3.1.4. addSpeech(String text, String filename)

3.1.5. isLanguageAvailable(Locale loc)

3.1.6. playEarcon(String earcon, int queueMode, HashMap<String, String> params)

3.1.7. playSilence(long durationInMs, int queueMode, HashMap<String, String> params)

3.1.8. setEngineByPackageName(String enginePackageName)

3.1.9. setLanguage(Locale loc)

3.1.10. setOnUtteranceCompletedListener(TextToSpeech.OnUtteranceCompletedListener listener)

3.1.11. setOnUtteranceProgressListener(UtteranceProgressListener listener)

3.1.12. setPitch(float pitch)

3.1.13. setSpeechRate(float speechRate)

3.1.14. speak(String text, int queueMode, HashMap<String, String> params)

3.1.15. stop()

3.1.16. synthesizeToFile(String text, HashMap<String, String> params, String filename)

3.2. boolean

3.2.1. areDefaultsEnforced()

3.2.2. isSpeaking()

3.3. String

3.3.1. getDefaultEngine()

3.4. void

3.4.1. shutdown()

3.5. List<TextToSpeech.EngineInfo>

3.5.1. getEngines()

3.6. Set<String>

3.6.1. getFeatures(Locale locale)

3.7. Locale

3.7.1. getLanguage()

4. Basic Example

4.1. Uses

4.1.1. TextToSpeech(Context context, TextToSpeech.OnInitListener listener)

4.1.2. speak(String text, int queueMode, HashMap<String, String> params)

4.1.3. QUEUE_ADD

5. Collaborating Classes

5.1. TextToSpeech.Engine

5.2. Intent

5.3. Locale

6. Method Classification

6.1. Add Playback Data

6.1.1. addEarcon(String earcon, String filename)

6.1.2. addEarcon(String earcon, String packagename, int resourceId)

6.1.3. addSpeech(String text, String packagename, int resourceId)

6.1.4. addSpeech(String text, String packagename, int resourceId)

6.1.5. addSpeech(String text, String filename)

6.2. Playback Options

6.2.1. playSilence(long durationInMs, int queueMode, HashMap<String, String> params)

6.2.2. playEarcon(String earcon, int queueMode, HashMap<String, String> params)

6.2.3. speak(String text, int queueMode, HashMap<String, String> params)

6.2.4. stop()

6.2.5. shutdown()

6.3. Playback Formatting

6.3.1. setSpeechRate(float speechRate)

6.3.2. setLanguage(Locale loc)

6.3.3. setOnUtteranceCompletedListener(TextToSpeech.OnUtteranceCompletedListener listener)

6.3.4. setOnUtteranceProgressListener(UtteranceProgressListener listener)

6.3.5. setPitch(float pitch)

6.3.6. setEngineByPackageName(String enginePackageName)

6.4. Playback File Generation

6.4.1. synthesizeToFile(String text, HashMap<String, String> params, String filename)

6.5. Playback Conditions

6.5.1. isLanguageAvailable(Locale loc)

6.5.2. getLanguage()

6.5.3. areDefaultsEnforced()