java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Param Name | Type | Description | Required | Version Available |
---|---|---|---|---|
menuLength | Integer | The number of items allowed in a Choice Set or Command menu while the driver is distracted | N | |
subMenuDepth | Integer | The depth of submenus allowed when the driver is distracted. e.g. 3 == top level menu ->submenu -> submenu; 1 == top level menu only | N |
public static final java.lang.String KEY_MENU_LENGTH
public static final java.lang.String KEY_SUB_MENU_DEPTH
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a new DriverDistractionCapability object
public DriverDistractionCapability()
Constructs a new DriverDistractionCapability object indicated by the Hashtable parameter
public DriverDistractionCapability(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Sets the menuLength.
public com.smartdevicelink.proxy.rpc.DriverDistractionCapability setMenuLength(Integer menuLength)
Gets the menuLength.
public java.lang.Integer getMenuLength()
Sets the subMenuDepth.
public com.smartdevicelink.proxy.rpc.DriverDistractionCapability setSubMenuDepth(Integer subMenuDepth)
Gets the subMenuDepth.
public java.lang.Integer getSubMenuDepth()
From Class | Methods |
---|---|
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 |