Package-level declarations

Types

Link copied to clipboard
external class SpeechSynthesis : EventTarget

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.

Link copied to clipboard
sealed external interface SpeechSynthesisErrorCode
Link copied to clipboard

This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.

Link copied to clipboard
external interface SpeechSynthesisEventInit : EventInit
Link copied to clipboard
open external class SpeechSynthesisUtterance(text: String = definedExternally) : EventTarget

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

Link copied to clipboard
external class SpeechSynthesisVoice

This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

Properties

Link copied to clipboard