Not documented.

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

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

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

Properties

bool continuous
read / write
SpeechGrammarList grammars
read / write
bool interimResults
read / write
String lang
read / write
int maxAlternatives
read / write
Events on
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.
Stream<Event> onAudioEnd
read-only
Stream of audioend events handled by this SpeechRecognition.
Stream<Event> onAudioStart
read-only
Stream of audiostart events handled by this SpeechRecognition.
Stream<Event> onEnd
read-only
Stream of end events handled by this SpeechRecognition.
Stream<SpeechRecognitionError> onError
read-only
Stream of error events handled by this SpeechRecognition.
Stream<SpeechRecognitionEvent> onNoMatch
read-only
Stream of nomatch events handled by this SpeechRecognition.
Stream<SpeechRecognitionEvent> onResult
read-only
Stream of result events handled by this SpeechRecognition.
Stream<Event> onSoundEnd
read-only
Stream of soundend events handled by this SpeechRecognition.
Stream<Event> onSoundStart
read-only
Stream of soundstart events handled by this SpeechRecognition.
Stream<Event> onSpeechEnd
read-only
Stream of speechend events handled by this SpeechRecognition.
Stream<Event> onSpeechStart
read-only
Stream of speechstart events handled by this SpeechRecognition.
Stream<Event> onStart
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