WhisperLiveSession class
A running live transcription session.
Obtain one from WhisperController.transcribeLive. Listen to partials
for progressively refined transcripts while audio is being fed, and call
stop to get the final text and release the native context.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
partials
→ Stream<
String> -
Progressively refined transcripts of the audio fed so far. Each event
replaces the previous one (it is the full text, not a delta).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
feed(
Uint8List pcm16Bytes) → void - Feed 16 kHz mono PCM16 (little-endian) audio bytes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → Future< String> - Finish the session: transcribe any remaining audio, release the native context, and return the final transcript.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited