W3cubDocs

/Dart 2

SpeechSynthesisUtterance class

Inheritance
Annotations
  • @Native("SpeechSynthesisUtterance")

Constructors

SpeechSynthesisUtterance([String text ])
factory

Properties

langString
read / write
onBoundaryStream<SpeechSynthesisEvent>
read-only
Stream of boundary events handled by this SpeechSynthesisUtterance.
onEndStream<SpeechSynthesisEvent>
read-only
Stream of end events handled by this SpeechSynthesisUtterance.
onErrorStream<Event>
read-only
Stream of error events handled by this SpeechSynthesisUtterance.
onMarkStream<SpeechSynthesisEvent>
read-only
Stream of mark events handled by this SpeechSynthesisUtterance.
onPauseStream<Event>
read-only
Stream of pause events handled by this SpeechSynthesisUtterance.
onResumeStream<SpeechSynthesisEvent>
read-only
Stream of resume events handled by this SpeechSynthesisUtterance.
onStartStream<SpeechSynthesisEvent>
read-only
Stream of start events handled by this SpeechSynthesisUtterance.
pitchnum
read / write
ratenum
read / write
textString
read / write
voiceSpeechSynthesisVoice
read / write
volumenum
read / write
hashCodeint
read-only, inherited
The hash code for this object. [...]
onEvents
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.
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

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
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Constants

boundaryEvent → const EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose boundary events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<SpeechSynthesisEvent>('boundary')
endEvent → const EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<SpeechSynthesisEvent>('end')
errorEvent → const EventStreamProvider<Event>
Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<Event>('error')
markEvent → const EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose mark events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<SpeechSynthesisEvent>('mark')
pauseEvent → const EventStreamProvider<Event>
Static factory designed to expose pause events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<Event>('pause')
resumeEvent → const EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose resume events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<SpeechSynthesisEvent>('resume')
startEvent → const EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
const EventStreamProvider<SpeechSynthesisEvent>('start')

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/SpeechSynthesisUtterance-class.html