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

AlertManeuver Class Reference

Constructors

Instance Methods

Constructors

new AlertManeuver(parameters)

Initializes an instance of AlertManeuver.

Instance Methods

alertManeuver.getSoftButtons() ⇒ Array.<SoftButton>

Get the SoftButtons

Kind: Instance method of AlertManeuver
Returns: Array.<SoftButton> - the KEY_SOFT_BUTTONS value

alertManeuver.getTtsChunks() ⇒ Array.<TTSChunk>

Get the TtsChunks

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

alertManeuver.setSoftButtons(buttons) ⇒ AlertManeuver

Set the SoftButtons

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

ParamTypeDescription
buttons Array.<SoftButton> If omitted on supported displays, only the system defined "Close" SoftButton shall be displayed. - The desired SoftButtons. {'array_min_size': 0, 'array_max_size': 3}

alertManeuver.setTtsChunks(chunks) ⇒ AlertManeuver

Set the TtsChunks

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

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