SpeechRecognitionEvent class

A single event in a stream of speech recognition events.

Use eventType to determine what type of event it is and depending on that use the other properties to get information about it.

Constructors

SpeechRecognitionEvent(SpeechRecognitionEventType eventType, SpeechRecognitionResult? _result, SpeechRecognitionError? _error, bool? _listening, double? _level)

Properties

error SpeechRecognitionError?
no setter
eventType SpeechRecognitionEventType
final
hashCode int
The hash code for this object.
no setterinherited
isListening bool?
no setter
level double?
no setter
recognitionResult SpeechRecognitionResult?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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