cancel()
method of the SpeechSynthesis
interface removes all utterances from the utterance queue.getVoices()
method of the SpeechSynthesis
interface returns a list of SpeechSynthesisVoice
objects representing all the available voices on the current device.onvoiceschanged
property of the SpeechSynthesis
interface represents an event handler that will run when the list of SpeechSynthesisVoice
objects that would be returned by the SpeechSynthesis.getVoices()
method has changed (when the voiceschanged
event fires.)pause()
method of the SpeechSynthesis
interface puts the SpeechSynthesis
object into a paused state.paused
read-only property of the SpeechSynthesis
interface is a Boolean
that returns true
if the SpeechSynthesis
object is in a paused state, or false
if not.pending
read-only property of the SpeechSynthesis
interface is a Boolean
that returns true
if the utterance queue contains as-yet-unspoken utterances.resume()
method of the SpeechSynthesis
interface puts the SpeechSynthesis
object into a non-paused state: resumes it if it was already paused.speak()
method of the SpeechSynthesis
interface adds an utterance
to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.speaking
read-only property of the SpeechSynthesis
interface is a Boolean
that returns true
if an utterance is currently in the process of being spoken — even if SpeechSynthesis
is in a paused
state.error
property of the SpeechSynthesisErrorEvent
interface returns an error code indicating what has gone wrong with a speech synthesis attempt.charIndex
read-only property of the SpeechSynthesisUtterance
interface returns the index position of the character in the SpeechSynthesisUtterance.text
that was being spoken when the event was triggered.elapsedTime
read-only property of the SpeechSynthesisUtterance
interface returns the elapsed time in milliseconds after the SpeechSynthesisUtterance.text
started being spoken that the event was triggered at.name
read-only property of the SpeechSynthesisUtterance
interface returns the name associated with certain types of events occuring as the SpeechSynthesisUtterance.text
is being spoken: the name of the SSML marker reached in the case of a mark
event, or the type of boundary reached in the case of a boundary
event.utterance
read-only property of the SpeechSynthesisUtterance
interface returns the SpeechSynthesisUtterance
instance that the event was triggered on.lang
property of the SpeechSynthesisUtterance
interface gets and sets the language of the utterance.onboundary
property of the SpeechSynthesisUtterance
interface represents an event handler that will run when the spoken utterance reaches a word or sentence boundary (when the boundary
event fires.)