SpeechRecognition class

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

Constants

audioEndEvent → EventStreamProvider<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')
audioStartEvent → EventStreamProvider<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')
endEvent → EventStreamProvider<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')
errorEvent → EventStreamProvider<SpeechRecognitionError>
@DocsEditable(), @DomName('SpeechRecognition.errorEvent')

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

noMatchEvent → EventStreamProvider<SpeechRecognitionEvent>
@DocsEditable(), @DomName('SpeechRecognition.nomatchEvent')

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

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

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

soundEndEvent → EventStreamProvider<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')
soundStartEvent → EventStreamProvider<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')
speechEndEvent → EventStreamProvider<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')
speechStartEvent → EventStreamProvider<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')
startEvent → EventStreamProvider<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

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 audioend events handled by this SpeechRecognition.

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

Stream of audiostart events handled by this SpeechRecognition.

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

Stream of end events handled by this SpeechRecognition.

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

Stream of error events handled by this SpeechRecognition.

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

Stream of nomatch events handled by this SpeechRecognition.

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

Stream of result events handled by this SpeechRecognition.

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

Stream of soundend events handled by this SpeechRecognition.

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

Stream of soundstart events handled by this SpeechRecognition.

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

Stream of speechend events handled by this SpeechRecognition.

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

Stream of speechstart events handled by this SpeechRecognition.

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

Stream of start events handled by this SpeechRecognition.

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 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