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

SDLShowAppMenu Class Reference

Section Contents

Overview

Used by an app to show the app’s menu, typically this is used by a navigation app if the menu button is hidden.

Added in SmartDeviceLink 6.0

-initWithMenuID:

Creates a ShowAppMenu RPC to open the app menu directly to a AddSubMenu RPC’s submenu.

Objective-C

- (nonnull instancetype)initWithMenuID:(UInt32)menuID;

Swift

init(menuID: UInt32)

Parameters

menuID

The ID of the AddSubMenu to open

Return Value

SDLShowAppMenu RPCRequest

menuID

A Menu ID that identifies the AddSubMenu to open if it correlates with the AddSubMenu menuID parameter. If not set the top level menu will be opened.

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLInt> *menuID;

Swift

var menuID: (NSNumber & SDLInt)? { get set }
View on GitHub.com
Previous Section Next Section