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 (nonatomic, strong, nullable) NSNumber<SDLInt> *menuID;

Swift

var menuID: (NSNumber & SDLInt)? { get set }