SpeechRecognition class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- SpeechRecognition
- Annotations
- @DocsEditable()
- @DomName('SpeechRecognition')
- @SupportedBrowser(SupportedBrowser.CHROME, '25')
- @Experimental()
Constants
- audioEndEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.audioendEvent')
-
Static factory designed to expose
audioendevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('audioend') - audioStartEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.audiostartEvent')
-
Static factory designed to expose
audiostartevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('audiostart') - endEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.endEvent')
-
Static factory designed to expose
endevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('end') - errorEvent → EventStreamProvider<SpeechRecognitionError> @DocsEditable(), @DomName('SpeechRecognition.errorEvent')
-
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<SpeechRecognitionError>('error'… - noMatchEvent → EventStreamProvider<SpeechRecognitionEvent> @DocsEditable(), @DomName('SpeechRecognition.nomatchEvent')
-
Static factory designed to expose
nomatchevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<SpeechRecognitionEvent>('nomatc… - resultEvent → EventStreamProvider<SpeechRecognitionEvent> @DocsEditable(), @DomName('SpeechRecognition.resultEvent')
-
Static factory designed to expose
resultevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<SpeechRecognitionEvent>('result… - soundEndEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.soundendEvent')
-
Static factory designed to expose
soundendevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('soundend') - soundStartEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.soundstartEvent')
-
Static factory designed to expose
soundstartevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('soundstart') - speechEndEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.speechendEvent')
-
Static factory designed to expose
speechendevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('speechend') - speechStartEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.speechstartEvent')
-
Static factory designed to expose
speechstartevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('speechstart') - startEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechRecognition.startEvent')
-
Static factory designed to expose
startevents to event handlers that are not necessarily instances of SpeechRecognition.const EventStreamProvider<Event>('start')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
- supported → bool read-only
-
Checks if this type is supported on the current platform.
Constructors
- SpeechRecognition() factory
- SpeechRecognition.internal_()
Properties
- audioTrack → MediaStreamTrack @DocsEditable(), @DomName('SpeechRecognition.audioTrack'), @Experimental(), read / write
- continuous → bool @DocsEditable(), @DomName('SpeechRecognition.continuous'), read / write
- grammars → SpeechGrammarList @DocsEditable(), @DomName('SpeechRecognition.grammars'), read / write
- interimResults → bool @DocsEditable(), @DomName('SpeechRecognition.interimResults'), read / write
- lang → String @DocsEditable(), @DomName('SpeechRecognition.lang'), read / write
- maxAlternatives → int @DocsEditable(), @DomName('SpeechRecognition.maxAlternatives'), read / write
- onAudioEnd → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onaudioend'), read-only
-
Stream of
audioendevents handled by thisSpeechRecognition. - onAudioStart → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onaudiostart'), read-only
-
Stream of
audiostartevents handled by thisSpeechRecognition. - onEnd → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onend'), read-only
-
Stream of
endevents handled by thisSpeechRecognition. - onError → Stream<SpeechRecognitionError> @DocsEditable(), @DomName('SpeechRecognition.onerror'), read-only
-
Stream of
errorevents handled by thisSpeechRecognition. - onNoMatch → Stream<SpeechRecognitionEvent> @DocsEditable(), @DomName('SpeechRecognition.onnomatch'), read-only
-
Stream of
nomatchevents handled by thisSpeechRecognition. - onResult → Stream<SpeechRecognitionEvent> @DocsEditable(), @DomName('SpeechRecognition.onresult'), read-only
-
Stream of
resultevents handled by thisSpeechRecognition. - onSoundEnd → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onsoundend'), read-only
-
Stream of
soundendevents handled by thisSpeechRecognition. - onSoundStart → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onsoundstart'), read-only
-
Stream of
soundstartevents handled by thisSpeechRecognition. - onSpeechEnd → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onspeechend'), read-only
-
Stream of
speechendevents handled by thisSpeechRecognition. - onSpeechStart → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onspeechstart'), read-only
-
Stream of
speechstartevents handled by thisSpeechRecognition. - onStart → Stream<Event> @DocsEditable(), @DomName('SpeechRecognition.onstart'), read-only
-
Stream of
startevents handled by thisSpeechRecognition. - hashCode → int read-only, inherited
- on → Events read-only, inherited
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- abort(
) → void @DocsEditable(), @DomName('SpeechRecognition.abort') - start(
) → void @DocsEditable(), @DomName('SpeechRecognition.start') - stop(
) → void @DocsEditable(), @DomName('SpeechRecognition.stop') - addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - dispatchEvent(
Event event) → bool @DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited - noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toStringmethod.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/SpeechRecognition-class.html