SttApi class

Speech-to-text transcription.

Constructors

SttApi()
Bind the namespace. Reach it through RunAnywhere.stt.
const

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
openStream(AudioFormatSpec format, {SttOptions? options}) Future<SttStream>
Open a live transcription stream. The format is established once; every frame pushed afterward carries raw PCM in that format.
state() Future<SttState>
Readiness, loaded model, and language coverage of the STT component.
toString() String
A string representation of this object.
inherited
transcribe(AudioInput audio, {SttOptions? options}) Future<Transcription>
Transcribe a complete audio buffer.
transcribeStream(Stream<AudioInput> audio, {SttOptions? options}) Stream<TranscriptionEvent>
Transcribe a live audio chunk stream, emitting partials then a final.

Operators

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