W3cubDocs

/Haxe JavaScript

SpeechSynthesisVoice

package js.html

@:native("SpeechSynthesisVoice") Available on js

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

Documentation SpeechSynthesisVoice by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

@:native("default") read only default_:Bool

read only lang:String

Returns a BCP 47 language tag indicating the language of the voice.

read only localService:Bool

A Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)

read only name:String

Returns a human-readable name that represents the voice.

read only voiceURI:String

Returns the type of URI and location of the speech synthesis service for this voice.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/SpeechSynthesisVoice.html