SpeechRecognizer class abstract

Represents a speech-to-text model instance.

Constructors

SpeechRecognizer()

Properties

hashCode → int
The hash code for this object.
no setterinherited
language ↔ String?
The output language used by transcribe calls that pass none.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCloseListener(void listener()) → void
See InferenceModel.addCloseListener.
close() → Future<void>
Close the STT model and release resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transcribe(Uint8List pcm16kMono, {String? language}) → Future<String>
Transcribe 16 kHz mono 16-bit little-endian PCM. Batch (fixed-window) for now; streaming is a follow-on.

Operators

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