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
JavaScript Suite Documentation
AlertAudioData

AlertAudioData Class Reference

Constructors

Instance Methods

Constructors

new AlertAudioData(phoneticString, phoneticType, audioFile)

Initializes an instance of AlertAudioData.

Instance Methods

alertAudioData.clone() ⇒ AlertAudioData

Creates a deep copy of the object.

Kind: Instance method of AlertAudioData
Returns: AlertAudioData - A deep clone of the AlertAudioData instance.

alertAudioData.isPlayTone() ⇒ Boolean

Get the PlayTone

Kind: Instance method of AlertAudioData
Returns: Boolean - the playTone value

alertAudioData.setPlayTone(playTone) ⇒ AlertAudioData

Set the PlayTone

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

ParamTypeDescription
playTone Boolean Defines if tone should be played. Tone is played before TTS. If omitted or provided without ttsChunks, no tone is played.
View on GitHub.com
Previous Section Next Section