Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class MenuConfiguration

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.screen.menu

Constructors

MenuConfiguration( MenuLayout mainMenuLayout, MenuLayout submenuLayout )

Create a MenuConfiguration Object

public MenuConfiguration(MenuLayout mainMenuLayout,MenuLayout submenuLayout)

Parameters

mainMenuLayout
- the layout of the main menu. If `null`, it will default to whatever the head unit uses
submenuLayout
- the layout of the main menu. If `null`, it will default to whatever the head unit uses

Methods

getMenuLayout()

Changes the default main menu layout.

public com.smartdevicelink.proxy.rpc.enums.MenuLayout getMenuLayout()

getSubMenuLayout()

Changes the default submenu layout. To change this for an individual submenu, set the `menuLayout` property on the `MenuCell` constructor for creating a cell with sub-cells.

public com.smartdevicelink.proxy.rpc.enums.MenuLayout getSubMenuLayout()

toString()

public java.lang.String toString()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section