SpeechRecognition class
- Inheritance
- Object
- EventTarget
- SpeechRecognition
- 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 read-only, inherited
- The hash code for this object. [...]
- 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. - runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
Methods
- abort(
) → void - addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void inherited - dispatchEvent(
Event event) → bool inherited - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void inherited - start(
) → void - stop(
) → void - toString(
) → String inherited - A string representation of this object. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
Static Properties
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')
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/SpeechRecognition-class.html