Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaSE Documentation
DeleteSubMenu

Class DeleteSubMenu

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCRequest

Package
com.smartdevicelink.proxy.rpc

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

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

Fields

KEY_MENU_ID

public static final java.lang.String KEY_MENU_ID
Constant Value
"menuID"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

DeleteSubMenu()

Constructs a new DeleteSubMenu object

public DeleteSubMenu()

DeleteSubMenu( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new DeleteSubMenu object indicated by the Hashtable parameter

public DeleteSubMenu(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

DeleteSubMenu( Integer menuID )

Constructs a new DeleteSubMenu object

public DeleteSubMenu(Integer menuID)

Constructor Parameters

menuID
an Integer value representing menuID that identifies the SubMenu to be delete

Notes: Min Value: 0; Max Value: 2000000000

Methods

getMenuID()

Gets the Menu ID that identifies the SubMenu to be delete

public java.lang.Integer getMenuID()

setMenuID( Integer menuID )

Sets the MenuID that identifies the SubMenu to be delete

public com.smartdevicelink.proxy.rpc.DeleteSubMenu setMenuID(Integer menuID)

Method Parameters

menuID
an Integer value representing menuID that identifies the SubMenu to be delete

Notes: Min Value: 0; Max Value: 2000000000

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
com.smartdevicelink.proxy.RPCMessage getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section