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
JavaEE Documentation
LightControlData

Class LightControlData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_LIGHT_STATE

public static final java.lang.String KEY_LIGHT_STATE
Constant Value
"lightState"

Inherited Fields

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

Constructors

LightControlData()

Constructs a new LightControlData object

public LightControlData()

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

Constructs a new LightControlData object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

LightControlData( java.util.List<com.smartdevicelink.proxy.rpc.LightState> lightState )

Constructs a newly allocated LightControlData object

public LightControlData(java.util.List<com.smartdevicelink.proxy.rpc.LightState> lightState)

Constructor Parameters

lightState
An array of LightNames and their current or desired status. Status of the LightNames that are not listed in the array shall remain unchanged.

Methods

getLightState()

Gets the lightState portion of the LightControlData class

public java.util.List getLightState()

setLightState( java.util.List<com.smartdevicelink.proxy.rpc.LightState> lightState )

Sets the lightState portion of the LightControlData class

public com.smartdevicelink.proxy.rpc.LightControlData setLightState(java.util.List<com.smartdevicelink.proxy.rpc.LightState> lightState)

Method Parameters

lightState
An array of LightNames and their current or desired status. Status of the LightNames that are not listed in the array shall remain unchanged.

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, 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