LiteRtLmAsrProcessResult class
One native ASR processing result.
Constructors
- LiteRtLmAsrProcessResult({required LiteRtLmAsrProcessState state, String confirmedText = '', String unconfirmedText = '', bool isFinal = false})
-
Creates a processing result.
const
Properties
- confirmedText → String
-
Newly confirmed text that will not be revised by later windows.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinal → bool
-
Whether this update completes the input stream.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → LiteRtLmAsrProcessState
-
Flow-control state.
final
- unconfirmedText → String
-
Current tentative text that may be replaced by the next update.
final
Methods
-
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