SpeechSynthesisVoice class

This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

SpeechSynthesisVoice()
factory

Properties

default$ bool

Available on SpeechSynthesisVoice, provided by the SpeechSynthesisVoice$Typings extension

MDN Reference
no setter
hashCode int
The hash code for this object.
no setterinherited
lang String

Available on SpeechSynthesisVoice, provided by the SpeechSynthesisVoice$Typings extension

MDN Reference
no setter
localService bool

Available on SpeechSynthesisVoice, provided by the SpeechSynthesisVoice$Typings extension

MDN Reference
no setter
name String

Available on SpeechSynthesisVoice, provided by the SpeechSynthesisVoice$Typings extension

MDN Reference
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
voiceURI String

Available on SpeechSynthesisVoice, provided by the SpeechSynthesisVoice$Typings extension

MDN Reference
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited