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
SDLDeleteSubMenu

SDLDeleteSubMenu Class Reference

Section Contents

Overview

Deletes a submenu from the Command Menu

Notes: When an app deletes a submenu that has child commands, those child commands are also deleted

HMILevel needs to be FULL, LIMITED or BACKGROUND

Since SmartDeviceLink 1.0
see SDLAddCommand SDLAddSubMenu SDLDeleteCommand

-initWithId:

Convenience init to delete a submenu

Objective-C

- (nonnull instancetype)initWithId:(UInt32)menuId;

Swift

init(id menuId: UInt32)

Parameters

menuId

Identifies the SDLSubMenu to be delete

Return Value

An SDLDeleteSubMenu object

menuID

the MenuID that identifies the SDLSubMenu to be delete @discussion Notes: Min Value: 0; Max Value: 2000000000

Objective-C

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

Swift

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