description

# SpeechRecognition class

Inheritance
  - Object
  - EventTarget
  - SpeechRecognition
Annotations
  - @SupportedBrowser.new(SupportedBrowser.CHROME, '25')
  - @Native.new("SpeechRecognition,webkitSpeechRecognition")

## Constructors

SpeechRecognition()
  factory

## Properties

audioTrack ↔ MediaStreamTrack?
  getter/setter pair
continuous ↔ bool?
  getter/setter pair
grammars ↔ SpeechGrammarList?
  getter/setter pair
hashCode → int
  The hash code for this object.
  no setterinherited
interimResults ↔ bool?
  getter/setter pair
lang ↔ String?
  getter/setter pair
maxAlternatives ↔ int?
  getter/setter pair
on → Events
  This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
  no setterinherited
onAudioEnd → Stream<Event>
  Stream of `audioend` events handled by this SpeechRecognition.
  no setter
onAudioStart → Stream<Event>
  Stream of `audiostart` events handled by this SpeechRecognition.
  no setter
onEnd → Stream<Event>
  Stream of `end` events handled by this SpeechRecognition.
  no setter
onError → Stream<SpeechRecognitionError>
  Stream of `error` events handled by this SpeechRecognition.
  no setter
onNoMatch → Stream<SpeechRecognitionEvent>
  Stream of `nomatch` events handled by this SpeechRecognition.
  no setter
onResult → Stream<SpeechRecognitionEvent>
  Stream of `result` events handled by this SpeechRecognition.
  no setter
onSoundEnd → Stream<Event>
  Stream of `soundend` events handled by this SpeechRecognition.
  no setter
onSoundStart → Stream<Event>
  Stream of `soundstart` events handled by this SpeechRecognition.
  no setter
onSpeechEnd → Stream<Event>
  Stream of `speechend` events handled by this SpeechRecognition.
  no setter
onSpeechStart → Stream<Event>
  Stream of `speechstart` events handled by this SpeechRecognition.
  no setter
onStart → Stream<Event>
  Stream of `start` events handled by this SpeechRecognition.
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setterinherited

## Methods

abort() → void
addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
  inherited
dispatchEvent(Event event) → bool
  inherited
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
  inherited
start() → void
stop() → void
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited

## Static Properties

supported → bool
  Checks if this type is supported on the current platform.
  no setter

## Constants

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