Skip to main content

Crate tauri_plugin_tts

Crate tauri_plugin_tts 

Source

Structs§

GetVoicesRequest
GetVoicesResponse
IsInitializedResponse
IsSpeakingResponse
PauseResumeResponse
PreviewVoiceOptions
PreviewVoiceRequest
SetBackgroundBehaviorRequest
SetBackgroundBehaviorResponse
SpeakOptions
SpeakRequest
SpeakResponse
StopResponse
TtsEventPayload
On desktop, emitted directly via app.emit("tts://<event_type>", payload). On mobile, native plugins send this through a Tauri Channel; the Rust relay deserializes it and re-emits via app.emit() so JS listen("tts://...") works uniformly on every platform.
ValidatedSpeakRequest
Voice

Enums§

Error
QueueMode
ValidationError

Constants§

MAX_LANGUAGE_LENGTH
Maximum language code length
MAX_TEXT_LENGTH
Maximum text length in bytes (10KB)
MAX_VOICE_ID_LENGTH
Maximum voice ID length

Traits§

TtsExt
Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the tts APIs.

Functions§

init

Type Aliases§

Result