Interface SpeechSynthesis

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.

MDN Reference

Hierarchy

Properties

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

Type declaration

paused: boolean
pending: boolean
speaking: boolean

Methods

  • 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.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    • K extends "voiceschanged"

    Parameters

    Returns void

  • Parameters

    Returns void