summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDeleteSubMenu.h
blob: 37c2dc54432ebe9e16daa0e93737c19f1d8dcebc (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
35
36
37
38
//  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
 */
@interface SDLDeleteSubMenu : SDLRPCRequest {
}

/**
 * Constructs a new SDLDeleteSubMenu object
 */
- (instancetype)init;
/**
 * Constructs a new SDLDeleteSubMenu object indicated by the dictionary parameter<p>
 * @param dict The dictionary to use
 */
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;

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

@end