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
SubscribeButton

SubscribeButton Class Reference

Constructors

Instance Methods

Constructors

new SubscribeButton(parameters)

Initializes an instance of SubscribeButton.

Instance Methods

subscribeButton.getButtonName() ⇒ ButtonName

Get the ButtonName

Kind: Instance method of SubscribeButton
Returns: ButtonName - the KEY_BUTTON_NAME value

subscribeButton.setButtonName(name) ⇒ SubscribeButton

Set the ButtonName

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

ParamTypeDescription
name ButtonName Name of the button to subscribe. - The desired ButtonName.
View on GitHub.com
Previous Section Next Section