Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

Speak Class Reference

Constructors

Instance Methods

Constructors

new Speak(parameters)

Initializes an instance of Speak.

Instance Methods

speak.getTtsChunks() ⇒ Array.<TTSChunk>

Get the TtsChunks

Kind: Instance method of Speak
Returns: Array.<TTSChunk> - the KEY_TTS_CHUNKS value

speak.setTtsChunks(chunks) ⇒ Speak

Set the TtsChunks

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

ParamTypeDescription
chunks Array.<TTSChunk> An array of text chunks of type TTSChunk. See TTSChunk. The array must have at least one item. - The desired TtsChunks. {'array_min_size': 1, 'array_max_size': 100}
View on GitHub.com