SpeechSynthesisUtterance class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('SpeechSynthesisUtterance')
  • @Experimental()

Constants

boundaryEventEventStreamProvider<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.boundaryEvent')

Static factory designed to expose boundary events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

endEventEventStreamProvider<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.endEvent')

Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

errorEventEventStreamProvider<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')
markEventEventStreamProvider<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.markEvent')

Static factory designed to expose mark events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

pauseEventEventStreamProvider<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')
resumeEventEventStreamProvider<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.resumeEvent')

Static factory designed to expose resume events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

startEventEventStreamProvider<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.startEvent')

Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

SpeechSynthesisUtterance([String text ])
factory
SpeechSynthesisUtterance.internal_()

Properties

langString
@DocsEditable(), @DomName('SpeechSynthesisUtterance.lang'), read / write
onBoundaryStream<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onboundary'), read-only

Stream of boundary events handled by this SpeechSynthesisUtterance.

onEndStream<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onend'), read-only

Stream of end events handled by this SpeechSynthesisUtterance.

onErrorStream<Event>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onerror'), read-only

Stream of error events handled by this SpeechSynthesisUtterance.

onMarkStream<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onmark'), read-only

Stream of mark events handled by this SpeechSynthesisUtterance.

onPauseStream<Event>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onpause'), read-only

Stream of pause events handled by this SpeechSynthesisUtterance.

onResumeStream<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onresume'), read-only

Stream of resume events handled by this SpeechSynthesisUtterance.

onStartStream<SpeechSynthesisEvent>
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onstart'), read-only

Stream of start events handled by this SpeechSynthesisUtterance.

pitchnum
@DocsEditable(), @DomName('SpeechSynthesisUtterance.pitch'), read / write
ratenum
@DocsEditable(), @DomName('SpeechSynthesisUtterance.rate'), read / write
textString
@DocsEditable(), @DomName('SpeechSynthesisUtterance.text'), read / write
voiceSpeechSynthesisVoice
@DocsEditable(), @DomName('SpeechSynthesisUtterance.voice'), read / write
volumenum
@DocsEditable(), @DomName('SpeechSynthesisUtterance.volume'), read / write
hashCodeint
read-only, inherited
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.

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