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
UpdateTurnList

UpdateTurnList Class Reference

Constructors

Instance Methods

Constructors

new UpdateTurnList(parameters)

Initializes an instance of UpdateTurnList.

Instance Methods

updateTurnList.getSoftButtons() ⇒ Array.<SoftButton>

Get the SoftButtons

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

updateTurnList.getTurnList() ⇒ Array.<Turn>

Get the TurnList

Kind: Instance method of UpdateTurnList
Returns: Array.<Turn> - the KEY_TURN_LIST value

updateTurnList.setSoftButtons(buttons) ⇒ UpdateTurnList

Set the SoftButtons

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

ParamTypeDescription
buttons Array.<SoftButton> If omitted on supported displays, app-defined SoftButton will be left blank. - The desired SoftButtons. {'array_min_size': 0, 'array_max_size': 1}

updateTurnList.setTurnList(list) ⇒ UpdateTurnList

Set the TurnList

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

ParamTypeDescription
list Array.<Turn> The desired TurnList. {'array_min_size': 1, 'array_max_size': 100}
View on GitHub.com
Previous Section Next Section