SpeechSynthesisUtterance class
The interface of the Web Speech API represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)
EventTarget
SpeechSynthesisUtterance
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- SpeechSynthesisUtterance([String? text])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lang ↔ String
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onboundary
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onend
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onerror
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onmark
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onpause
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onresume
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair -
onstart
↔ EventHandlerNonNull<
Event> ? -
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair - pitch ↔ double
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair - rate ↔ double
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair - voice ↔ SpeechSynthesisVoice?
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair - volume ↔ double
-
Available on SpeechSynthesisUtterance, provided by the PropsSpeechSynthesisUtterance extension
getter/setter pair
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited