Package-level declarations
Types
Link copied to clipboard
Reports the default android.speech.tts.TextToSpeech engine and its supported languages. No permissions required. Initializes a one-shot engine (bounded by TTS_INIT_TIMEOUT_MS), reads its default engine and available languages (as BCP-47 tags) with a single getAvailableLanguages() call made from the tool coroutine rather than the init callback, then shuts it down — on every path, including init error, timeout, and cancellation (see useTtsEngine).
Link copied to clipboard
Speaks text aloud through the device TextToSpeech engine, suspending until playback completes. No permissions required.
Link copied to clipboard
object TtsTools
Provider for text-to-speech tools: SpeakTextTool and GetTtsInfoTool.