VoiceAgentApi class
Constructors
- VoiceAgentApi(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
-
configure(
ClientContext? ctx, VoiceAgentComposeConfig request) → Future< VoiceAgentResult> - Configure / initialize the executable voice-agent sub-components (STT/LLM/TTS/VAD). Returns an initial VoiceAgentResult capturing component readiness and any initialization errors.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processTurn(
ClientContext? ctx, VoiceAgentTurnRequest request) → Future< VoiceAgentResult> - One-shot voice turn: audio blob in, transcription + assistant response
-
stream(
ClientContext? ctx, VoiceAgentRequest request) → Future< VoiceEvent> - Server-streaming: the agent emits VoiceEvents until the client cancels the stream or the agent reaches its terminal state.
-
synthesizeSpeech(
ClientContext? ctx, VoiceAgentSynthesizeSpeechProtoRequest request) → Future< TTSOutput> - Helper-level TTS synthesize-speech path used by voice-agent sub-components.
-
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
ClientContext? ctx, VoiceAgentTranscribeProtoRequest request) → Future< STTOutput> - Helper-level STT transcribe path used by voice-agent sub-components.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited