Stay organized with collections
Save and categorize content based on your preferences.
android.speech.tts
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.speech.tts\n\nAdded in [API level 4](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.speech.tts\n==================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/speech/tts/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SynthesisCallback](/reference/android/speech/tts/SynthesisCallback) | A callback to return speech data synthesized by a text to speech engine. |\n| [TextToSpeech.OnInitListener](/reference/android/speech/tts/TextToSpeech.OnInitListener) | Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization. |\n| [TextToSpeech.OnUtteranceCompletedListener](/reference/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener) | *This interface was deprecated in API level 18. Use [UtteranceProgressListener](/reference/android/speech/tts/UtteranceProgressListener) instead.* |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [SynthesisRequest](/reference/android/speech/tts/SynthesisRequest) | Contains data required by engines to synthesize speech. |\n| [TextToSpeech](/reference/android/speech/tts/TextToSpeech) | Synthesizes speech from text for immediate playback or to create a sound file. |\n| [TextToSpeech.Engine](/reference/android/speech/tts/TextToSpeech.Engine) | Constants and parameter names for controlling text-to-speech. |\n| [TextToSpeech.EngineInfo](/reference/android/speech/tts/TextToSpeech.EngineInfo) | Information about an installed text-to-speech engine. |\n| [TextToSpeechService](/reference/android/speech/tts/TextToSpeechService) | Abstract base class for TTS engine implementations. |\n| [UtteranceProgressListener](/reference/android/speech/tts/UtteranceProgressListener) | Listener for events relating to the progress of an utterance through the synthesis queue. |\n| [Voice](/reference/android/speech/tts/Voice) | Characteristics and features of a Text-To-Speech Voice. |\n\n-\n\n Interfaces\n ----------\n\n - [SynthesisCallback](/reference/android/speech/tts/SynthesisCallback)\n - [TextToSpeech.OnInitListener](/reference/android/speech/tts/TextToSpeech.OnInitListener)\n - [TextToSpeech.OnUtteranceCompletedListener](/reference/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener)\n-\n\n Classes\n -------\n\n - [SynthesisRequest](/reference/android/speech/tts/SynthesisRequest)\n - [TextToSpeech](/reference/android/speech/tts/TextToSpeech)\n - [TextToSpeech.Engine](/reference/android/speech/tts/TextToSpeech.Engine)\n - [TextToSpeech.EngineInfo](/reference/android/speech/tts/TextToSpeech.EngineInfo)\n - [TextToSpeechService](/reference/android/speech/tts/TextToSpeechService)\n - [UtteranceProgressListener](/reference/android/speech/tts/UtteranceProgressListener)\n - [Voice](/reference/android/speech/tts/Voice)"]]