public class DriverDistractionCapability extends 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 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_MENU_LENGTH |
static String |
KEY_SUB_MENU_DEPTH |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
DriverDistractionCapability()
Constructs a new DriverDistractionCapability object
|
DriverDistractionCapability(Hashtable<String,Object> hash)
Constructs a new DriverDistractionCapability object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMenuLength()
Gets the menuLength.
|
Integer |
getSubMenuDepth()
Gets the subMenuDepth.
|
DriverDistractionCapability |
setMenuLength(Integer menuLength)
Sets the menuLength.
|
DriverDistractionCapability |
setSubMenuDepth(Integer subMenuDepth)
Sets the subMenuDepth.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_MENU_LENGTH
public static final String KEY_SUB_MENU_DEPTH
public DriverDistractionCapability()
public DriverDistractionCapability setMenuLength(Integer menuLength)
menuLength - The number of items allowed in a Choice Set or Command menu while the driver is distractedpublic Integer getMenuLength()
public DriverDistractionCapability setSubMenuDepth(Integer subMenuDepth)
subMenuDepth - The depth of submenus allowed when the driver is distracted. e.g. 3 == top level menu ->
submenu -> submenu; 1 == top level menu onlypublic Integer getSubMenuDepth()