TTSApi class

Logical TTS service contract. Native playback, audio-session ownership, device routing, and OS TTS sessions remain platform-owned; C++ consumes only the serialized request/result/event messages defined above.

Constructors

TTSApi(RpcClient _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stream(ClientContext? ctx, TTSSynthesisRequest request) Future<TTSStreamEvent>
Server-streaming synthesis events: started, progress, audio chunks, phoneme timestamps, terminal completion, and errors.
synthesize(ClientContext? ctx, TTSSynthesisRequest request) Future<TTSOutput>
One-shot synthesis returning encoded audio bytes plus synthesis metadata.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited