Package-level declarations

Types

Link copied to clipboard
class BetterFrenchTts(context: Context, config: BetterFrenchTts.Config = Config())

High-level French TTS wrapper around Android's native TextToSpeech.

Link copied to clipboard
sealed interface PronunciationRule

Type-safe pronunciation rule for the BetterFrenchTts dictionary.

Link copied to clipboard
data class QueueProgress(val currentIndex: Int, val totalItems: Int)

Progress information emitted while a speech queue is playing.

Link copied to clipboard
data class SpeechPreset(val name: String, val rate: String, val pitch: String, val volume: String)

Named prosody preset with rate, pitch and volume settings for SSML <prosody> generation.

Link copied to clipboard
sealed class SpeechResult

Sealed result type representing the outcome of a speak or synthesize operation.

Link copied to clipboard
data class WordHighlight(val utteranceId: String, val start: Int, val end: Int)

Represents the word (or text range) currently being spoken by the TTS engine.