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

ShowAppMenu Class Reference


Instance Methods


new ShowAppMenu(parameters)

Initializes an instance of ShowAppMenu.

Instance Methods

showAppMenu.getMenuID() ⇒ Number

Get the MenuID

Kind: Instance method of ShowAppMenu
Returns: Number - the KEY_MENU_ID value

showAppMenu.setMenuID(id) ⇒ ShowAppMenu

Set the MenuID

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

id Number If omitted the HMI opens the app's menu. If set to a sub-menu ID the HMI opens the corresponding sub-menu previously added using `AddSubMenu`. - The desired MenuID. {'num_min_value': 1, 'num_max_value': 2000000000}
View on GitHub.com
Previous Section Next Section