# android.speech.tts

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# android.speech.tts

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/speech/tts/package-summary "View this page in Kotlin")\|Java

## Interfaces

|---------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SynthesisCallback](https://developer.android.com/reference/android/speech/tts/SynthesisCallback)                                                 | A callback to return speech data synthesized by a text to speech engine.                                                                                                      |
| [TextToSpeech.OnInitListener](https://developer.android.com/reference/android/speech/tts/TextToSpeech.OnInitListener)                             | Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization.                                                         |
| [TextToSpeech.OnUtteranceCompletedListener](https://developer.android.com/reference/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener) | *This interface was deprecated in API level 18. Use[UtteranceProgressListener](https://developer.android.com/reference/android/speech/tts/UtteranceProgressListener)instead.* |

## Classes

|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| [SynthesisRequest](https://developer.android.com/reference/android/speech/tts/SynthesisRequest)                   | Contains data required by engines to synthesize speech.                                   |
| [TextToSpeech](https://developer.android.com/reference/android/speech/tts/TextToSpeech)                           | Synthesizes speech from text for immediate playback or to create a sound file.            |
| [TextToSpeech.Engine](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine)             | Constants and parameter names for controlling text-to-speech.                             |
| [TextToSpeech.EngineInfo](https://developer.android.com/reference/android/speech/tts/TextToSpeech.EngineInfo)     | Information about an installed text-to-speech engine.                                     |
| [TextToSpeechService](https://developer.android.com/reference/android/speech/tts/TextToSpeechService)             | Abstract base class for TTS engine implementations.                                       |
| [UtteranceProgressListener](https://developer.android.com/reference/android/speech/tts/UtteranceProgressListener) | Listener for events relating to the progress of an utterance through the synthesis queue. |
| [Voice](https://developer.android.com/reference/android/speech/tts/Voice)                                         | Characteristics and features of a Text-To-Speech Voice.                                   |

-

  ## Interfaces

  - [SynthesisCallback](https://developer.android.com/reference/android/speech/tts/SynthesisCallback)
  - [TextToSpeech.OnInitListener](https://developer.android.com/reference/android/speech/tts/TextToSpeech.OnInitListener)
  - [TextToSpeech.OnUtteranceCompletedListener](https://developer.android.com/reference/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener)
-

  ## Classes

  - [SynthesisRequest](https://developer.android.com/reference/android/speech/tts/SynthesisRequest)
  - [TextToSpeech](https://developer.android.com/reference/android/speech/tts/TextToSpeech)
  - [TextToSpeech.Engine](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine)
  - [TextToSpeech.EngineInfo](https://developer.android.com/reference/android/speech/tts/TextToSpeech.EngineInfo)
  - [TextToSpeechService](https://developer.android.com/reference/android/speech/tts/TextToSpeechService)
  - [UtteranceProgressListener](https://developer.android.com/reference/android/speech/tts/UtteranceProgressListener)
  - [Voice](https://developer.android.com/reference/android/speech/tts/Voice)