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
Documentation
DriverDistractionCapability

Class DriverDistractionCapability

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

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

Fields

KEY_MENU_LENGTH

public static final java.lang.String KEY_MENU_LENGTH
Constant Value
"menuLength"

KEY_SUB_MENU_DEPTH

public static final java.lang.String KEY_SUB_MENU_DEPTH
Constant Value
"subMenuDepth"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

DriverDistractionCapability()

Constructs a new DriverDistractionCapability object

public DriverDistractionCapability()

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

Constructs a new DriverDistractionCapability object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

Methods

setMenuLength( Integer menuLength )

Sets the menuLength.

public com.smartdevicelink.proxy.rpc.DriverDistractionCapability setMenuLength(Integer menuLength)

Parameters

menuLength
The number of items allowed in a Choice Set or Command menu while the driver is distracted

getMenuLength()

Gets the menuLength.

public java.lang.Integer getMenuLength()

setSubMenuDepth( Integer subMenuDepth )

Sets the subMenuDepth.

public com.smartdevicelink.proxy.rpc.DriverDistractionCapability setSubMenuDepth(Integer subMenuDepth)

Parameters

subMenuDepth
The depth of submenus allowed when the driver is distracted. e.g. 3 == top level menu -> submenu -> submenu; 1 == top level menu only

getSubMenuDepth()

Gets the subMenuDepth.

public java.lang.Integer getSubMenuDepth()

Inherited Methods

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
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section