NumberNumberDriverDistractionCapabilityDriverDistractionCapabilityInitializes an instance of DriverDistractionCapability.
NumberGet the MenuLength
Kind: Instance method of DriverDistractionCapability
Returns: Number - the KEY_MENU_LENGTH value
NumberGet the SubMenuDepth
Kind: Instance method of DriverDistractionCapability
Returns: Number - the KEY_SUB_MENU_DEPTH value
DriverDistractionCapabilitySet the MenuLength
Kind: Instance method of DriverDistractionCapability
Returns: DriverDistractionCapability - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| length | Number |
The number of items allowed in a Choice Set or Command menu while the driver is distracted - The desired MenuLength. |
DriverDistractionCapabilitySet the SubMenuDepth
Kind: Instance method of DriverDistractionCapability
Returns: DriverDistractionCapability - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| depth | Number |
The depth of submenus allowed when the driver is distracted. e.g. 3 == top level menu -> submenu -> submenu; 1 == top level menu only - The desired SubMenuDepth. {'num_min_value': 1} |