RequestSink class abstract
Receives the native events of one request.
Every method does nothing by default; implementations override what their request produces.
- Implementers
Constructors
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(
) → Future< void> - Cancels this request when supported.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAnalyzerResult(
AnalyzerResultMessage result) → void -
A
SpeechAnalyzermodule produced a result. -
onDone(
double? lastSampleTime) → void - The request finished.
-
onError(
ErrorMessage error) → void - The request failed.
-
onInstallProgress(
double fractionCompleted) → void - An asset download progressed.
-
onRecognitionResult(
RecognitionResultMessage result) → void -
SFSpeechRecognizerproduced a result. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited