Not documented.

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

Constants

EventStreamProvider<Event> audioEndEvent = const EventStreamProvider<Event>('audioend')
const

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

EventStreamProvider<Event> audioStartEvent = const EventStreamProvider<Event>('audiostart')
const

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

EventStreamProvider<Event> endEvent = const EventStreamProvider<Event>('end')
const

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

EventStreamProvider<SpeechRecognitionError> errorEvent = const EventStreamProvider<SpeechRecognitionError>('error')
const

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

EventStreamProvider<SpeechRecognitionEvent> noMatchEvent = const EventStreamProvider<SpeechRecognitionEvent>('nomatch')
const

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

EventStreamProvider<SpeechRecognitionEvent> resultEvent = const EventStreamProvider<SpeechRecognitionEvent>('result')
const

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

EventStreamProvider<Event> soundEndEvent = const EventStreamProvider<Event>('soundend')
const

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

EventStreamProvider<Event> soundStartEvent = const EventStreamProvider<Event>('soundstart')
const

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

EventStreamProvider<Event> speechEndEvent = const EventStreamProvider<Event>('speechend')
const

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

EventStreamProvider<Event> speechStartEvent = const EventStreamProvider<Event>('speechstart')
const

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

EventStreamProvider<Event> startEvent = const EventStreamProvider<Event>('start')
const

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

Static Properties

supported bool
read-only

Checks if this type is supported on the current platform.

Properties

continuous bool
read / write

grammars SpeechGrammarList
read / write

interimResults bool
read / write

lang String
read / write

maxAlternatives int
read / write

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.

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.

Constructors

SpeechRecognition()

Methods

abort() → void

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

dispatchEvent(Event event) → bool
inherited

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

start() → void

stop() → void