Events

This section describes the events associated with the Web Speech API.

In this section

TopicDescription

onboundary

Fired when the spoken utterance reaches a word or sentence boundary.

onend

Fried when the utterance is completed.

onerror

Fired when there was an error that prevented the utterance from speaking.

onmark

Fired when the spoken utterance reaches a "mark" tag in SSML.

onpause

Fired when an utterance is paused mid-utterance.

onresume

Fired when an utterance is resumed after being paused mid-utterance.

onstart

Fired when an utterance begins speaking.

onvoiceschanged

Fired when the contents of SpeechSynthesisVoice have changed.

 

 

 

Show: