Inheritance
Annotations
  • @DomName('SpeechRecognition')
  • @SupportedBrowser(SupportedBrowser.CHROME, '25')
  • @Experimental()
  • @Native("SpeechRecognition")

Constructors

SpeechRecognition()
factory

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>
Stream of audioend events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onaudioend'), read-only
onAudioStart Stream<Event>
Stream of audiostart events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onaudiostart'), read-only
onEnd Stream<Event>
Stream of end events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onend'), read-only
onError Stream<SpeechRecognitionError>
Stream of error events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onerror'), read-only
onNoMatch Stream<SpeechRecognitionEvent>
Stream of nomatch events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onnomatch'), read-only
onResult Stream<SpeechRecognitionEvent>
Stream of result events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onresult'), read-only
onSoundEnd Stream<Event>
Stream of soundend events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onsoundend'), read-only
onSoundStart Stream<Event>
Stream of soundstart events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onsoundstart'), read-only
onSpeechEnd Stream<Event>
Stream of speechend events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onspeechend'), read-only
onSpeechStart Stream<Event>
Stream of speechstart events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onspeechstart'), read-only
onStart Stream<Event>
Stream of start events handled by this SpeechRecognition.
@DocsEditable(), @DomName('SpeechRecognition.onstart'), read-only
hashCode int
read-only, inherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited
runtimeType Type
read-only, inherited

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
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited

Static Properties

supported bool
Checks if this type is supported on the current platform.
read-only

Constants

audioEndEvent EventStreamProvider<Event>
Static factory designed to expose audioend events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.audioendEvent')
const EventStreamProvider<Event>('audioend')
audioStartEvent EventStreamProvider<Event>
Static factory designed to expose audiostart events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.audiostartEvent')
const EventStreamProvider<Event>('audiostart')
endEvent EventStreamProvider<Event>
Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.endEvent')
const EventStreamProvider<Event>('end')
errorEvent EventStreamProvider<SpeechRecognitionError>
Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.errorEvent')
noMatchEvent EventStreamProvider<SpeechRecognitionEvent>
Static factory designed to expose nomatch events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.nomatchEvent')
resultEvent EventStreamProvider<SpeechRecognitionEvent>
Static factory designed to expose result events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.resultEvent')
soundEndEvent EventStreamProvider<Event>
Static factory designed to expose soundend events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.soundendEvent')
const EventStreamProvider<Event>('soundend')
soundStartEvent EventStreamProvider<Event>
Static factory designed to expose soundstart events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.soundstartEvent')
const EventStreamProvider<Event>('soundstart')
speechEndEvent EventStreamProvider<Event>
Static factory designed to expose speechend events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.speechendEvent')
const EventStreamProvider<Event>('speechend')
speechStartEvent EventStreamProvider<Event>
Static factory designed to expose speechstart events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.speechstartEvent')
const EventStreamProvider<Event>('speechstart')
startEvent EventStreamProvider<Event>
Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechRecognition. [...]
@DocsEditable(), @DomName('SpeechRecognition.startEvent')
const EventStreamProvider<Event>('start')