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 }