@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class SpeechSynthesisVoice
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SpeechSynthesisVoice() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
default_()
The default read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is the default voice for the current app (true), or not (false.)
|
java.lang.String |
lang()
The lang read-only property of the SpeechSynthesisVoice interface returns a BCP 47 language tag indicating the language of the voice.
|
boolean |
localService()
The localService read-only property of the SpeechSynthesisVoice interface returns a Boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.)
|
java.lang.String |
name()
The name read-only property of the SpeechSynthesisVoice interface returns a human-readable name that represents the voice.
|
java.lang.String |
voiceURI()
The voiceURI read-only property of the SpeechSynthesisVoice interface returns the type of URI and location of the speech synthesis service for this voice.
|
@JsProperty(name="default") public boolean default_()
@JsProperty(name="lang") @Nonnull public java.lang.String lang()
@JsProperty(name="localService") public boolean localService()
@JsProperty(name="name") @Nonnull public java.lang.String name()
@JsProperty(name="voiceURI") @Nonnull public java.lang.String voiceURI()