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
LightCapabilities

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)

Constructor Parameters

hash
The Hashtable to use

LightCapabilities( LightName name )

Constructs a newly allocated LightCapabilities object

public LightCapabilities(LightName name)

Constructor Parameters

name
name of Light

Methods

setName( LightName name )

Sets the name portion of the LightCapabilities class

public com.smartdevicelink.proxy.rpc.LightCapabilities setName(LightName name)

Method Parameters

name
enum value of type LightName that describes the specific light

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 com.smartdevicelink.proxy.rpc.LightCapabilities setDensityAvailable(Boolean densityAvailable)

Method 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 com.smartdevicelink.proxy.rpc.LightCapabilities setRGBColorSpaceAvailable(Boolean RGBColorSpaceAvailable)

Method 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 com.smartdevicelink.proxy.rpc.LightCapabilities setStatusAvailable(Boolean statusAvailable)

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