summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDeleteSubMenu.h
blob: 74a6363a906720711f7c9c40d5da7e1b79dbdbc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//  SDLDeleteSubMenu.h
//


#import "SDLRPCRequest.h"

/**
 * Deletes a submenu from the Command Menu
 * <p>
 * <b>Notes: </b>When an app deletes a submenu that has child commands, those
 * child commands are also deleted
 * <p>
 * <b>HMILevel needs to be  FULL, LIMITED or BACKGROUND</b>
 * </p>
 *
 * Since <b>SmartDeviceLink 1.0</b><br>
 * see SDLAddCommand SDLAddSubMenu SDLDeleteCommand
 */

NS_ASSUME_NONNULL_BEGIN

@interface SDLDeleteSubMenu : SDLRPCRequest

- (instancetype)initWithId:(UInt32)menuId;

/**
 * @abstract the MenuID that identifies the SDLSubMenu to be delete
 * @discussion  <b>Notes: </b>Min Value: 0; Max Value: 2000000000
 */
@property (strong, nonatomic) NSNumber<SDLInt> *menuID;

@end

NS_ASSUME_NONNULL_END