LiteRtSttBackend class

Web stub for LiteRtSttBackend — the STT web arm is a follow-on (see the design spec's "Out of scope"). Registers cleanly so initialize doesn't break on web, but building a model throws.

Constructors

LiteRtSttBackend()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Human-readable name for diagnostics / error messages.
no setteroverride
priority int
Selection precedence on overlap. Core backends use 0.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canHandle(SttModelSpec spec) bool
Whether this backend can serve spec. Probed by the registry.
override
createModel(SttModelSpec spec, RuntimeConfig config) Future<SpeechRecognizer>
Build a runtime SpeechRecognizer for spec + config.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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