SpeechRecognition class
- Inheritance
- Object
- EventTarget
- SpeechRecognition
- Annotations
- @SupportedBrowser.new(SupportedBrowser.CHROME, '25')
- @Native.new("SpeechRecognition,webkitSpeechRecognition")
Constructors
- SpeechRecognition()
- factory
Properties
- audioTrack↔MediaStreamTrack?
- getter/setter pair
- continuous↔bool?
- getter/setter pair
- grammars↔SpeechGrammarList?
- getter/setter pair
- hashCode→int
- The hash code for this object.no setterinherited
- interimResults↔bool?
- getter/setter pair
- lang↔String?
- getter/setter pair
- maxAlternatives↔int?
- getter/setter pair
- on→Events
- This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.no setterinherited
- onAudioEnd→Stream<
Event> - Stream of
audioendevents handled by thisSpeechRecognition.no setter - onAudioStart→Stream<
Event> - Stream of
audiostartevents handled by thisSpeechRecognition.no setter - onEnd→Stream<
Event> - Stream of
endevents handled by thisSpeechRecognition.no setter - onError→Stream<
SpeechRecognitionError> - Stream of
errorevents handled by thisSpeechRecognition.no setter - onNoMatch→Stream<
SpeechRecognitionEvent> - Stream of
nomatchevents handled by thisSpeechRecognition.no setter - onResult→Stream<
SpeechRecognitionEvent> - Stream of
resultevents handled by thisSpeechRecognition.no setter - onSoundEnd→Stream<
Event> - Stream of
soundendevents handled by thisSpeechRecognition.no setter - onSoundStart→Stream<
Event> - Stream of
soundstartevents handled by thisSpeechRecognition.no setter - onSpeechEnd→Stream<
Event> - Stream of
speechendevents handled by thisSpeechRecognition.no setter - onSpeechStart→Stream<
Event> - Stream of
speechstartevents handled by thisSpeechRecognition.no setter - onStart→Stream<
Event> - Stream of
startevents handled by thisSpeechRecognition.no setter - runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
Methods
- abort(
)→ void - addEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- dispatchEvent(
Eventevent)→bool - inherited
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- start(
)→ void - stop(
)→ void - toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Properties
Constants
- audioEndEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
audioendevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - audioStartEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
audiostartevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - endEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
endevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - errorEvent→ constEventStreamProvider<
SpeechRecognitionError> - Static factory designed to expose
errorevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - noMatchEvent→ constEventStreamProvider<
SpeechRecognitionEvent> - Static factory designed to expose
nomatchevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - resultEvent→ constEventStreamProvider<
SpeechRecognitionEvent> - Static factory designed to expose
resultevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - soundEndEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
soundendevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - soundStartEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
soundstartevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - speechEndEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
speechendevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - speechStartEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
speechstartevents to eventhandlers that are not necessarily instances ofSpeechRecognition. - startEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
startevents to eventhandlers that are not necessarily instances ofSpeechRecognition.