Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Hierarchy

Index

Properties

onvoiceschanged: null | ((this: SpeechSynthesis, ev: Event) => any)
paused: boolean
pending: boolean
speaking: boolean

Methods

  • cancel(): void
  • Returns void

  • dispatchEvent(event: Event): boolean
  • 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

    Returns boolean

  • pause(): void
  • Returns void

  • resume(): void
  • Returns void

Generated using TypeDoc