SpeechRecognition class

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

Constructors

SpeechRecognition()

Constants

audioEndEvent = const EventStreamProvider<Event>('audioend')
Static factory designed to expose audioend events to event handlers that are not necessarily instances of SpeechRecognition.
audioStartEvent = const EventStreamProvider<Event>('audiostart')
Static factory designed to expose audiostart events to event handlers that are not necessarily instances of SpeechRecognition.
endEvent = const EventStreamProvider<Event>('end')
Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechRecognition.
errorEvent = const EventStreamProvider<SpeechRecognitionError>('error')
Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechRecognition.
noMatchEvent = const EventStreamProvider<SpeechRecognitionEvent>('nomatch')
Static factory designed to expose nomatch events to event handlers that are not necessarily instances of SpeechRecognition.
resultEvent = const EventStreamProvider<SpeechRecognitionEvent>('result')
Static factory designed to expose result events to event handlers that are not necessarily instances of SpeechRecognition.
soundEndEvent = const EventStreamProvider<Event>('soundend')
Static factory designed to expose soundend events to event handlers that are not necessarily instances of SpeechRecognition.
soundStartEvent = const EventStreamProvider<Event>('soundstart')
Static factory designed to expose soundstart events to event handlers that are not necessarily instances of SpeechRecognition.
speechEndEvent = const EventStreamProvider<Event>('speechend')
Static factory designed to expose speechend events to event handlers that are not necessarily instances of SpeechRecognition.
speechStartEvent = const EventStreamProvider<Event>('speechstart')
Static factory designed to expose speechstart events to event handlers that are not necessarily instances of SpeechRecognition.
startEvent = const EventStreamProvider<Event>('start')
Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechRecognition.

Static Properties

supported bool
read-only

Instance Properties

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
onAudioStart Stream<Event>
read-only
onEnd Stream<Event>
read-only
onError Stream<SpeechRecognitionError>
read-only
onNoMatch Stream<SpeechRecognitionEvent>
read-only
onResult Stream<SpeechRecognitionEvent>
read-only
onSoundEnd Stream<Event>
read-only
onSoundStart Stream<Event>
read-only
onSpeechEnd Stream<Event>
read-only
onSpeechStart Stream<Event>
read-only
onStart Stream<Event>
read-only
on Events Inherited
read-only

Instance Methods

abort() → void
start() → void
stop() → void
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
dispatchEvent(Event event) → bool Inherited