STTApi class
Logical STT service contract. Platform adapters remain responsible for native capture, file access, and stream plumbing; C++ consumes only the serialized request/event messages defined above.
Constructors
- STTApi(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, STTTranscriptionRequest request) → Future< STTStreamEvent> - Server-streaming transcription events: started, partial hypotheses, terminal final output, endpoint notifications, and errors.
-
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
ClientContext? ctx, STTTranscriptionRequest request) → Future< STTOutput> - One-shot transcription. The request may carry audio bytes or a logical adapter-provided handle; native file/capture I/O stays outside this IDL.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited