# android.speech.tts

# android.speech.tts

*** ** * ** ***

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

## Interfaces

|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
| [SynthesisCallback](https://developer.android.com/reference/kotlin/android/speech/tts/SynthesisCallback)                                    | A callback to return speech data synthesized by a text to speech engine.                                              |
| [OnInitListener](https://developer.android.com/reference/kotlin/android/speech/tts/TextToSpeech.OnInitListener)                             | Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization. |
| [OnUtteranceCompletedListener](https://developer.android.com/reference/kotlin/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener) | Listener that will be called when the TTS service has completed synthesizing an utterance.                            |

## Classes

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