VADApi class

Logical VAD service contract. Native microphone capture, audio-session ownership, device routing, and platform stream plumbing remain outside C++; C++ consumes only serialized frame requests and emits logical VAD events.

Constructors

VADApi(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
processFrame(ClientContext? ctx, VADProcessRequest request) Future<VADResult>
One-shot frame processing over PCM bytes or an adapter-provided logical audio handle.
stream(ClientContext? ctx, VADProcessRequest request) Future<VADStreamEvent>
Server-streaming speech-activity events: frame results, transitions, statistics snapshots, terminal stop, and errors.
toString() String
A string representation of this object.
inherited

Operators

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