Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
TTSChunk

TTSChunk Class Reference

Constructors

Instance Methods

Constructors

new TTSChunk(parameters)

Initalizes an instance of TTSChunk.

Instance Methods

tTSChunk.getText() ⇒ String

Get the Text

Kind: Instance method of TTSChunk
Returns: String - the KEY_TEXT value

tTSChunk.getType() ⇒ SpeechCapabilities

Get the Type

Kind: Instance method of TTSChunk
Returns: SpeechCapabilities - the KEY_TYPE value

tTSChunk.setText(text) ⇒ TTSChunk

Set the Text

Kind: Instance method of TTSChunk
Returns: TTSChunk - The class instance for method chaining.

ParamTypeDescription
text String The text or phonemes to speak, or the name of the audio file to play. May not be empty. - The desired Text.

tTSChunk.setType(type) ⇒ TTSChunk

Set the Type

Kind: Instance method of TTSChunk
Returns: TTSChunk - The class instance for method chaining.

ParamTypeDescription
type SpeechCapabilities Describes whether the TTS chunk is plain text, a specific phoneme set, or an - The desired Type. audio file. See SpeechCapabilities
View on GitHub.com
Previous Section Next Section