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

Class LightCapabilities

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_NAME

public static final java.lang.String KEY_NAME
Constant Value
"name"

KEY_DENSITY_AVAILABLE

public static final java.lang.String KEY_DENSITY_AVAILABLE
Constant Value
"densityAvailable"

KEY_RGB_COLOR_SPACE_AVAILABLE

public static final java.lang.String KEY_RGB_COLOR_SPACE_AVAILABLE
Constant Value
"rgbColorSpaceAvailable"

KEY_STATUS_AVAILABLE

public static final java.lang.String KEY_STATUS_AVAILABLE
Constant Value
"statusAvailable"

Inherited Fields

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

Constructors

LightCapabilities()

Constructs a newly allocated LightCapabilities object

public LightCapabilities()

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

Constructs a newly allocated LightCapabilities object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

LightCapabilities( LightName name )

Constructs a newly allocated LightCapabilities object

public LightCapabilities(LightName name)

Parameters

name
name of Light

Methods

setName( LightName name )

Sets the name portion of the LightCapabilities class

public void setName(LightName name)

Parameters

name

getName()

Gets the name portion of the LightCapabilities class

public com.smartdevicelink.proxy.rpc.enums.LightName getName()

setDensityAvailable( Boolean densityAvailable )

Sets the densityAvailable portion of the LightCapabilities class

public void setDensityAvailable(Boolean densityAvailable)

Parameters

densityAvailable
Indicates if the light's density can be set remotely (similar to a dimmer).

getDensityAvailable()

Gets the densityAvailable portion of the LightCapabilities class

public java.lang.Boolean getDensityAvailable()

setRGBColorSpaceAvailable( Boolean RGBColorSpaceAvailable )

Sets the RGBColorSpaceAvailable portion of the LightCapabilities class

public void setRGBColorSpaceAvailable(Boolean RGBColorSpaceAvailable)

Parameters

RGBColorSpaceAvailable
Indicates if the light's color can be set remotely by using the RGB color space.

getRGBColorSpaceAvailable()

Gets the RGBColorSpaceAvailable portion of the LightCapabilities class

public java.lang.Boolean getRGBColorSpaceAvailable()

setStatusAvailable( Boolean statusAvailable )

Sets the statusAvailable portion of the LightCapabilities class

public void setStatusAvailable(Boolean statusAvailable)

Parameters

statusAvailable
Indicates if the status (ON/OFF) can be set remotely. App shall not use read-only values (RAMP_UP/RAMP_DOWN/UNKNOWN/INVALID) in a setInteriorVehicleData request.

getStatusAvailable()

Gets the statusAvailable portion of the LightCapabilities class

public java.lang.Boolean getStatusAvailable()

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