SpeechSynthesisUtterance class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- SpeechSynthesisUtterance
- Annotations
- @DocsEditable()
- @DomName('SpeechSynthesisUtterance')
- @Experimental()
Constants
- boundaryEvent → EventStreamProvider<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.boundaryEvent')
-
Static factory designed to expose
boundaryevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<SpeechSynthesisEvent>('boundary') - endEvent → EventStreamProvider<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.endEvent')
-
Static factory designed to expose
endevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<SpeechSynthesisEvent>('end') - errorEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.errorEvent')
-
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<Event>('error') - markEvent → EventStreamProvider<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.markEvent')
-
Static factory designed to expose
markevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<SpeechSynthesisEvent>('mark') - pauseEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.pauseEvent')
-
Static factory designed to expose
pauseevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<Event>('pause') - resumeEvent → EventStreamProvider<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.resumeEvent')
-
Static factory designed to expose
resumeevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<SpeechSynthesisEvent>('resume') - startEvent → EventStreamProvider<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.startEvent')
-
Static factory designed to expose
startevents to event handlers that are not necessarily instances of SpeechSynthesisUtterance.const EventStreamProvider<SpeechSynthesisEvent>('start')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
- SpeechSynthesisUtterance([String text ]) factory
- SpeechSynthesisUtterance.internal_()
Properties
- lang → String @DocsEditable(), @DomName('SpeechSynthesisUtterance.lang'), read / write
- onBoundary → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onboundary'), read-only
-
Stream of
boundaryevents handled by thisSpeechSynthesisUtterance. - onEnd → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onend'), read-only
-
Stream of
endevents handled by thisSpeechSynthesisUtterance. - onError → Stream<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onerror'), read-only
-
Stream of
errorevents handled by thisSpeechSynthesisUtterance. - onMark → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onmark'), read-only
-
Stream of
markevents handled by thisSpeechSynthesisUtterance. - onPause → Stream<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onpause'), read-only
-
Stream of
pauseevents handled by thisSpeechSynthesisUtterance. - onResume → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onresume'), read-only
-
Stream of
resumeevents handled by thisSpeechSynthesisUtterance. - onStart → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onstart'), read-only
-
Stream of
startevents handled by thisSpeechSynthesisUtterance. - pitch → num @DocsEditable(), @DomName('SpeechSynthesisUtterance.pitch'), read / write
- rate → num @DocsEditable(), @DomName('SpeechSynthesisUtterance.rate'), read / write
- text → String @DocsEditable(), @DomName('SpeechSynthesisUtterance.text'), read / write
- voice → SpeechSynthesisVoice @DocsEditable(), @DomName('SpeechSynthesisUtterance.voice'), read / write
- volume → num @DocsEditable(), @DomName('SpeechSynthesisUtterance.volume'), read / write
- hashCode → int read-only, inherited
- 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.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - dispatchEvent(
Event event) → bool @DocsEditable(), @DomName('EventTarget.dispatchEvent'), 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 - toString(
) → String inherited -
Returns the result of the JavaScript objects
toStringmethod.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/SpeechSynthesisUtterance-class.html