| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DENSITY_AVAILABLE |
static String |
KEY_NAME |
static String |
KEY_RGB_COLOR_SPACE_AVAILABLE |
static String |
KEY_STATUS_AVAILABLE |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
LightCapabilities()
Constructs a newly allocated LightCapabilities object
|
LightCapabilities(Hashtable<String,Object> hash)
Constructs a newly allocated LightCapabilities object indicated by the Hashtable parameter
|
LightCapabilities(LightName name)
Constructs a newly allocated LightCapabilities object
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDensityAvailable()
Gets the densityAvailable portion of the LightCapabilities class
|
LightName |
getName()
Gets the name portion of the LightCapabilities class
|
Boolean |
getRGBColorSpaceAvailable()
Gets the RGBColorSpaceAvailable portion of the LightCapabilities class
|
Boolean |
getStatusAvailable()
Gets the statusAvailable portion of the LightCapabilities class
|
LightCapabilities |
setDensityAvailable(Boolean densityAvailable)
Sets the densityAvailable portion of the LightCapabilities class
|
LightCapabilities |
setName(LightName name)
Sets the name portion of the LightCapabilities class
|
LightCapabilities |
setRGBColorSpaceAvailable(Boolean RGBColorSpaceAvailable)
Sets the RGBColorSpaceAvailable portion of the LightCapabilities class
|
LightCapabilities |
setStatusAvailable(Boolean statusAvailable)
Sets the statusAvailable portion of the LightCapabilities class
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_NAME
public static final String KEY_DENSITY_AVAILABLE
public static final String KEY_RGB_COLOR_SPACE_AVAILABLE
public static final String KEY_STATUS_AVAILABLE
public LightCapabilities()
public LightCapabilities(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic LightCapabilities(@NonNull
LightName name)
name - name of Lightpublic LightCapabilities setName(@NonNull LightName name)
name - enum value of type LightName that describes the specific lightLightNamepublic LightName getName()
LightNamepublic LightCapabilities setDensityAvailable(Boolean densityAvailable)
densityAvailable - Indicates if the light's density can be set remotely (similar to a dimmer).public Boolean getDensityAvailable()
public LightCapabilities setRGBColorSpaceAvailable(Boolean RGBColorSpaceAvailable)
RGBColorSpaceAvailable - Indicates if the light's color can be set remotely by using the RGB color space.public Boolean getRGBColorSpaceAvailable()
public LightCapabilities setStatusAvailable(Boolean statusAvailable)
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.public Boolean getStatusAvailable()