Stay organized with collections
Save and categorize content based on your preferences.
android.speech.tts
Interfaces
SynthesisCallback |
A callback to return speech data synthesized by a text to speech engine.
|
OnInitListener |
Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization.
|
OnUtteranceCompletedListener |
Listener that will be called when the TTS service has completed synthesizing an utterance.
|
Classes
SynthesisRequest |
Contains data required by engines to synthesize speech.
|
TextToSpeech |
Synthesizes speech from text for immediate playback or to create a sound file.
|
TextToSpeechService |
Abstract base class for TTS engine implementations.
|
UtteranceProgressListener |
Listener for events relating to the progress of an utterance through the synthesis queue.
|
Voice |
Characteristics and features of a Text-To-Speech Voice.
|
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==================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/speech/tts/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| [SynthesisCallback](/reference/kotlin/android/speech/tts/SynthesisCallback) | A callback to return speech data synthesized by a text to speech engine. |\n| [OnInitListener](/reference/kotlin/android/speech/tts/TextToSpeech.OnInitListener) | Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization. |\n| [OnUtteranceCompletedListener](/reference/kotlin/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener) | Listener that will be called when the TTS service has completed synthesizing an utterance. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [SynthesisRequest](/reference/kotlin/android/speech/tts/SynthesisRequest) | Contains data required by engines to synthesize speech. |\n| [TextToSpeech](/reference/kotlin/android/speech/tts/TextToSpeech) | Synthesizes speech from text for immediate playback or to create a sound file. |\n| [TextToSpeechService](/reference/kotlin/android/speech/tts/TextToSpeechService) | Abstract base class for TTS engine implementations. |\n| [UtteranceProgressListener](/reference/kotlin/android/speech/tts/UtteranceProgressListener) | Listener for events relating to the progress of an utterance through the synthesis queue. |\n| [Voice](/reference/kotlin/android/speech/tts/Voice) | Characteristics and features of a Text-To-Speech Voice. |"]]