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
boundary
events 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
end
events 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
error
events 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
mark
events 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
pause
events 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
resume
events 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
start
events 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
boundary
events handled by thisSpeechSynthesisUtterance
. - onEnd → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onend'), read-only
-
Stream of
end
events handled by thisSpeechSynthesisUtterance
. - onError → Stream<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onerror'), read-only
-
Stream of
error
events handled by thisSpeechSynthesisUtterance
. - onMark → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onmark'), read-only
-
Stream of
mark
events handled by thisSpeechSynthesisUtterance
. - onPause → Stream<Event> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onpause'), read-only
-
Stream of
pause
events handled by thisSpeechSynthesisUtterance
. - onResume → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onresume'), read-only
-
Stream of
resume
events handled by thisSpeechSynthesisUtterance
. - onStart → Stream<SpeechSynthesisEvent> @DocsEditable(), @DomName('SpeechSynthesisUtterance.onstart'), read-only
-
Stream of
start
events 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
toString
method.
© 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