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

SDLDeleteCommand Class Reference

Section Contents

Overview

Removes a command from the Command Menu

HMI Status Requirements:
HMILevel: FULL, LIMITED or BACKGROUND
AudioStreamingState: N/A
SystemContext: Should not be attempted when VRSESSION or MENU

Since SmartDeviceLink 1.0
see SDLAddCommand SDLAddSubMenu SDLDeleteSubMenu

-initWithId:

Convenience init to remove a command from the menu

Objective-C

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

Swift

init(id commandId: UInt32)

Parameters

commandId

The Command ID that identifies the Command to be deleted from Command Menu

Return Value

An SDLDeleteCommand object

cmdID

the Command ID that identifies the Command to be deleted from Command Menu @discussion an NSNumber value representing Command ID

Notes: Min Value: 0; Max Value: 2000000000

Objective-C

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

Swift

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