dart:html
SpeechRecognition class
- Inheritance
- Annotations
- @SupportedBrowser(SupportedBrowser.CHROME, '25')
- @Native("SpeechRecognition")
Constructors
- SpeechRecognition()
factory
Properties
- audioTrack ↔ MediaStreamTrack
read / write
- continuous ↔ bool
read / write
- grammars ↔ SpeechGrammarList
read / write
- interimResults ↔ bool
read / write
- lang ↔ String
read / write
- maxAlternatives ↔ int
read / write
- onAudioEnd → Stream<Event>
read-only
- Stream of
audioend
events handled by this SpeechRecognition. - onAudioStart → Stream<Event>
read-only
- Stream of
audiostart
events handled by this SpeechRecognition. - onEnd → Stream<Event>
read-only
- Stream of
end
events handled by this SpeechRecognition. - onError → Stream<SpeechRecognitionError>
read-only
- Stream of
error
events handled by this SpeechRecognition. - onNoMatch → Stream<SpeechRecognitionEvent>
read-only
- Stream of
nomatch
events handled by this SpeechRecognition. - onResult → Stream<SpeechRecognitionEvent>
read-only
- Stream of
result
events handled by this SpeechRecognition. - onSoundEnd → Stream<Event>
read-only
- Stream of
soundend
events handled by this SpeechRecognition. - onSoundStart → Stream<Event>
read-only
- Stream of
soundstart
events handled by this SpeechRecognition. - onSpeechEnd → Stream<Event>
read-only
- Stream of
speechend
events handled by this SpeechRecognition. - onSpeechStart → Stream<Event>
read-only
- Stream of
speechstart
events handled by this SpeechRecognition. - onStart → Stream<Event>
read-only
- Stream of
start
events handled by this SpeechRecognition. - hashCode → int
read-only, inherited
- The hash code for this object. [...]
- 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.
Methods
- abort() → void
- start() → void
- stop() → void
- addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
- dispatchEvent(Event event) → bool
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 a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Static Properties
- supported → bool
read-only
- Checks if this type is supported on the current platform.
Constants
- audioEndEvent → const EventStreamProvider<Event>
- Static factory designed to expose
audioend
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('audioend')
- audioStartEvent → const EventStreamProvider<Event>
- Static factory designed to expose
audiostart
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('audiostart')
- endEvent → const EventStreamProvider<Event>
- Static factory designed to expose
end
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('end')
- errorEvent → const EventStreamProvider<SpeechRecognitionError>
- Static factory designed to expose
error
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<SpeechRecognitionError>('error')
- noMatchEvent → const EventStreamProvider<SpeechRecognitionEvent>
- Static factory designed to expose
nomatch
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<SpeechRecognitionEvent>('nomatch')
- resultEvent → const EventStreamProvider<SpeechRecognitionEvent>
- Static factory designed to expose
result
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<SpeechRecognitionEvent>('result')
- soundEndEvent → const EventStreamProvider<Event>
- Static factory designed to expose
soundend
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('soundend')
- soundStartEvent → const EventStreamProvider<Event>
- Static factory designed to expose
soundstart
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('soundstart')
- speechEndEvent → const EventStreamProvider<Event>
- Static factory designed to expose
speechend
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('speechend')
- speechStartEvent → const EventStreamProvider<Event>
- Static factory designed to expose
speechstart
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('speechstart')
- startEvent → const EventStreamProvider<Event>
- Static factory designed to expose
start
events to event handlers that are not necessarily instances of SpeechRecognition
. [...] const EventStreamProvider<Event>('start')