SpeechRecognition class
the channel to control the speech recognition
Constructors
- SpeechRecognition()
-
factory
Properties
- availabilityHandler ↔ AvailabilityHandler
-
getter/setter pair
- errorHandler ↔ VoidCallback
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- recognitionCompleteHandler ↔ StringResultHandler
-
getter/setter pair
- recognitionResultHandler ↔ StringResultHandler
-
getter/setter pair
- recognitionStartedHandler ↔ VoidCallback
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
String locale) → Future - ask for speech recognizer permission
-
cancel(
) → Future - cancel speech
-
listen(
) → Future - start listening
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAvailabilityHandler(
AvailabilityHandler handler) → void -
setErrorHandler(
VoidCallback handler) → void -
setRecognitionCompleteHandler(
StringResultHandler handler) → void -
setRecognitionResultHandler(
StringResultHandler handler) → void -
setRecognitionStartedHandler(
VoidCallback handler) → void -
stop(
) → Future - stop listening
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited