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
iOS Documentation
SDLShowAppMenu

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 }
View on GitHub.com
Previous Section Next Section