This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.

Hierarchy

  • EventTarget
    • SpeechSynthesis

Properties

onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any)

Type declaration

paused: boolean
pending: boolean
speaking: boolean

Methods

  • Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • Returns void

  • Returns void