Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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)

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)

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 void setLightState(java.util.List<com.smartdevicelink.proxy.rpc.LightState> lightState)

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