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
CreateInteractionChoiceSet

CreateInteractionChoiceSet Class Reference

Constructors

Instance Methods

Constructors

new CreateInteractionChoiceSet(parameters)

Initializes an instance of CreateInteractionChoiceSet.

Instance Methods

createInteractionChoiceSet.getChoiceSet() ⇒ Array.<Choice>

Get the ChoiceSet

Kind: Instance method of CreateInteractionChoiceSet
Returns: Array.<Choice> - the KEY_CHOICE_SET value

createInteractionChoiceSet.getInteractionChoiceSetID() ⇒ Number

Get the InteractionChoiceSetID

Kind: Instance method of CreateInteractionChoiceSet
Returns: Number - the KEY_INTERACTION_CHOICE_SET_ID value

createInteractionChoiceSet.setChoiceSet(set) ⇒ CreateInteractionChoiceSet

Set the ChoiceSet

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

ParamTypeDescription
set Array.<Choice> A choice is an option given to the user, which can be selected either by menu, or through voice recognition system. - The desired ChoiceSet. {'array_min_size': 1, 'array_max_size': 100}

createInteractionChoiceSet.setInteractionChoiceSetID(id) ⇒ CreateInteractionChoiceSet

Set the InteractionChoiceSetID

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

ParamTypeDescription
id Number Unique ID used for this interaction choice set. - The desired InteractionChoiceSetID. {'num_min_value': 0, 'num_max_value': 2000000000}
View on GitHub.com
Previous Section Next Section