SpeechToTextTask class

A cancellable speech recognition operation.

Properties

done → Future<SpeechToTextCompletion>
Completes once the task succeeds, is cancelled, or fails. It never completes with an error.
no setter
events → Stream<SpeechToTextEvent>
Recognition events.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isCancellationRequested → bool
Whether cancellation has been requested.
no setter
result → Future<SpeechToTextResult>
The final transcript.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
Requests cooperative cancellation of this task. It does not cancel other requests on the same LlamaEngine. Calling this more than once is safe.
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