public class DeleteSubMenu extends RPCRequest
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
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| menuID | Integer | Unique ID that identifies the SubMenu to be delete | Y | Min Value: 0; Max Value: 2000000000 | SmartDeviceLink 1.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
INVALID_ID
IN_USE
AddCommand,
AddSubMenu,
DeleteCommand| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_MENU_ID |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
DeleteSubMenu()
Constructs a new DeleteSubMenu object
|
DeleteSubMenu(Hashtable<String,Object> hash)
Constructs a new DeleteSubMenu object indicated by the Hashtable parameter
|
DeleteSubMenu(Integer menuID)
Constructs a new DeleteSubMenu object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMenuID()
Gets the Menu ID that identifies the SubMenu to be delete
|
DeleteSubMenu |
setMenuID(Integer menuID)
Sets the MenuID that identifies the SubMenu to be delete
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_MENU_ID
public DeleteSubMenu()
public DeleteSubMenu(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic DeleteSubMenu(@NonNull
Integer menuID)
menuID - an Integer value representing menuID that identifies the SubMenu to be delete
Notes: Min Value: 0; Max Value: 2000000000
public Integer getMenuID()
public DeleteSubMenu setMenuID(@NonNull Integer menuID)
menuID - an Integer value representing menuID that identifies the SubMenu to be delete
Notes: Min Value: 0; Max Value: 2000000000