Options
All
  • Public
  • Public/Protected
  • All
Menu

This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)

Hierarchy

Index

Properties

EventTarget

EventTarget: object

Type declaration

  • constructor: function
    • Returns EventTarget

  • prototype: EventTarget

lang

lang: string

onboundary

onboundary: function | null

onend

onend: function | null

onerror

onerror: function | null

onmark

onmark: function | null

onpause

onpause: function | null

onresume

onresume: function | null

onstart

onstart: function | null

pitch

pitch: number

rate

rate: number

text

text: string

voice

volume

volume: number

Methods

addEventListener

dispatchEvent

  • 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

removeEventListener

Generated using TypeDoc