Package-level declarations
Types
Represents a voice used by the Android Text-to-Speech (TTS) engine.
AudioMixer manages audio clips in prioritized tracks, ensuring that clips are played in the order of insertion while allowing higher-priority clips to interrupt lower-priority clips.
Interface representing a repository for managing languages and voices.
Implementation of LanguageRepository, providing state management for languages and voices.
Interface for a local Text-to-Speech (TTS) player.
Represents a notification alert that plays a sound when triggered.
Describes the voice to be used with the default Player instance.
Factory for instantiating the services required for the playing voice announcements.
The PlayerCallback interface defines the callbacks that are triggered during the playback of an announcement by a VoicePlayer.
PlayerOptions.
Exposes current state of the Player.
Defines a remote Text-to-Speech (TTS) API client.
Interface representing a remote text-to-speech (TTS) player.
Manages switching between different remote TTS players dynamically.
Interface representing a sound player for handling various sound effects.
Manages the lifecycle of speech files for Text-To-Speech operations, including their creation, caching, and deletion. Links announcements with speech file progress, allowing observation of file creation status through Announcement.mediaCacheId and SpeechFileProgress.mediaCacheId matching.
Interface for playing speech files.
Tracks creation progress and state of speech files. It facilitates cache management by enabling the eviction of obsolete files and the cleanup of files interrupted during creation. This mechanism ensures efficient cache use and aids in maintaining a clean file storage by removing incomplete or unused speech files upon the next app start.
Manages performance measurements related to speech playback.
Simple VoicePlayerOptionsProvider implementation with one stable option
Represents an exception that occurs in the TTS API.
Represents a voice announcement, which can be either local or remote.
The VoicePlayer interface defines the contract for a voice playback system. Implementations may use Text-to-Speech (TTS) engines to play back announcements.
Provides context needed for the middleware to operate.
Options used to initialize the default VoicePlayer instance.
Options provider used to initialize a VoicePlayer instance.
Represents the progress of a voice announcement.
Functions
Starts measuring the TTS download time for this Announcement.