SpeechRecognition class - dart:html library (original) (raw)

Inheritance

Annotations

Constructors

SpeechRecognition()

factory

Properties

audioTrackMediaStreamTrack?

getter/setter pair

continuousbool?

getter/setter pair

grammarsSpeechGrammarList?

getter/setter pair

hashCodeint

The hash code for this object.

no setterinherited

interimResultsbool?

getter/setter pair

langString?

getter/setter pair

maxAlternativesint?

getter/setter pair

onEvents

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

no setterinherited

onAudioEndStream<Event>

Stream of audioend events handled by this SpeechRecognition.

no setter

onAudioStartStream<Event>

Stream of audiostart events handled by this SpeechRecognition.

no setter

onEndStream<Event>

Stream of end events handled by this SpeechRecognition.

no setter

onErrorStream<SpeechRecognitionError>

Stream of error events handled by this SpeechRecognition.

no setter

onNoMatchStream<SpeechRecognitionEvent>

Stream of nomatch events handled by this SpeechRecognition.

no setter

onResultStream<SpeechRecognitionEvent>

Stream of result events handled by this SpeechRecognition.

no setter

onSoundEndStream<Event>

Stream of soundend events handled by this SpeechRecognition.

no setter

onSoundStartStream<Event>

Stream of soundstart events handled by this SpeechRecognition.

no setter

onSpeechEndStream<Event>

Stream of speechend events handled by this SpeechRecognition.

no setter

onSpeechStartStream<Event>

Stream of speechstart events handled by this SpeechRecognition.

no setter

onStartStream<Event>

Stream of start events handled by this SpeechRecognition.

no setter

runtimeTypeType

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

supportedbool

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.