LiteRtLmAsrPushResult class
Result of pushing PCM into a bounded native ASR session.
Constructors
- LiteRtLmAsrPushResult({required int acceptedSamples, required bool wouldBlock})
-
Creates a push result.
const
Properties
- acceptedSamples → int
-
Number of samples accepted from the beginning of the supplied buffer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wouldBlock → bool
-
Whether the unaccepted suffix must be retried after processing a window.
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