SpeechRecognition class Null safety

Inheritance
Annotations
  • @SupportedBrowser(SupportedBrowser.CHROME, '25')
  • @Native("SpeechRecognition")

Constructors

SpeechRecognition()
factory

Properties

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

Methods

abort() → void
addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
dispatchEvent(Event event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
start() → void
stop() → void
toString() String
Returns 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.
read-only

Constants

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