SpeechRecognizer class abstract
Represents a speech-to-text model instance.
Constructors
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
-
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) → 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