SpeechRecognition class

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

Constants

audioEndEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.audioendEvent')

Static factory designed to expose audioend events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('audioend')
audioStartEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.audiostartEvent')

Static factory designed to expose audiostart events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('audiostart')
endEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.endEvent')

Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('end')
errorEventEventStreamProvider<SpeechRecognitionError>
@DocsEditable(), @DomName('SpeechRecognition.errorEvent')

Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechRecognition.

noMatchEventEventStreamProvider<SpeechRecognitionEvent>
@DocsEditable(), @DomName('SpeechRecognition.nomatchEvent')

Static factory designed to expose nomatch events to event handlers that are not necessarily instances of SpeechRecognition.

resultEventEventStreamProvider<SpeechRecognitionEvent>
@DocsEditable(), @DomName('SpeechRecognition.resultEvent')

Static factory designed to expose result events to event handlers that are not necessarily instances of SpeechRecognition.

soundEndEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.soundendEvent')

Static factory designed to expose soundend events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('soundend')
soundStartEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.soundstartEvent')

Static factory designed to expose soundstart events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('soundstart')
speechEndEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.speechendEvent')

Static factory designed to expose speechend events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('speechend')
speechStartEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.speechstartEvent')

Static factory designed to expose speechstart events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('speechstart')
startEventEventStreamProvider<Event>
@DocsEditable(), @DomName('SpeechRecognition.startEvent')

Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechRecognition.

const EventStreamProvider<Event>('start')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only
supportedbool
read-only

Checks if this type is supported on the current platform.

Constructors

SpeechRecognition()
factory
SpeechRecognition.internal_()

Properties

audioTrackMediaStreamTrack
@DocsEditable(), @DomName('SpeechRecognition.audioTrack'), @Experimental(), read / write
continuousbool
@DocsEditable(), @DomName('SpeechRecognition.continuous'), read / write
grammarsSpeechGrammarList
@DocsEditable(), @DomName('SpeechRecognition.grammars'), read / write
interimResultsbool
@DocsEditable(), @DomName('SpeechRecognition.interimResults'), read / write
langString
@DocsEditable(), @DomName('SpeechRecognition.lang'), read / write
maxAlternativesint
@DocsEditable(), @DomName('SpeechRecognition.maxAlternatives'), read / write
onAudioEndStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onaudioend'), read-only

Stream of audioend events handled by this SpeechRecognition.

onAudioStartStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onaudiostart'), read-only

Stream of audiostart events handled by this SpeechRecognition.

onEndStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onend'), read-only

Stream of end events handled by this SpeechRecognition.

onErrorStream<SpeechRecognitionError>
@DocsEditable(), @DomName('SpeechRecognition.onerror'), read-only

Stream of error events handled by this SpeechRecognition.

onNoMatchStream<SpeechRecognitionEvent>
@DocsEditable(), @DomName('SpeechRecognition.onnomatch'), read-only

Stream of nomatch events handled by this SpeechRecognition.

onResultStream<SpeechRecognitionEvent>
@DocsEditable(), @DomName('SpeechRecognition.onresult'), read-only

Stream of result events handled by this SpeechRecognition.

onSoundEndStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onsoundend'), read-only

Stream of soundend events handled by this SpeechRecognition.

onSoundStartStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onsoundstart'), read-only

Stream of soundstart events handled by this SpeechRecognition.

onSpeechEndStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onspeechend'), read-only

Stream of speechend events handled by this SpeechRecognition.

onSpeechStartStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onspeechstart'), read-only

Stream of speechstart events handled by this SpeechRecognition.

onStartStream<Event>
@DocsEditable(), @DomName('SpeechRecognition.onstart'), read-only

Stream of start events handled by this SpeechRecognition.

hashCodeint
read-only, inherited
onEvents
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.

runtimeTypeType
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 toString method.

© 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