LiteRtLmAsrRuntimeSession class abstract interface

Synchronous low-level session implemented by the native runtime.

Calls that run inference may block and should be owned by a worker isolate.

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

cancel() → void
Requests cancellation between native inference windows.
dispose() → void
Releases native session resources.
finishAudio() → void
Marks the input complete so a partial final window can be processed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processNext() → LiteRtLmAsrProcessResult
Runs at most one inference window.
pushAudio(Float32List samples) → LiteRtLmAsrPushResult
Pushes mono 16 kHz float PCM into the bounded native queue.
reset() → void
Resets transcript and audio state for a new stream.
toString() → String
A string representation of this object.
inherited

Operators

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