public static class CapabilityColor.SetTemperature extends Command<CapabilityColor.CommandId>
Capability.sendResourceCommand(Command, CommandStatusListener)
to change color temperature for Resource such as color bulb.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
temperatureKelvin
Value of color temperature in kelvin.
|
int |
transitionTime
Transition duration in milliseconds from the current level to the
levelPct value.
|
boolean |
useDefaultTransitionTime
A flag that represents if default transition duration from
current level to level pct shall be used.
|
| Constructor and Description |
|---|
SetTemperature(boolean useDefaultTransitionTime)
Constructor of this class.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="colorTemperatureKelvin") public int temperatureKelvin
@SerializedName(value="useDefaultTransTimeFlag") public boolean useDefaultTransitionTime
@SerializedName(value="transitionTimeMs") public int transitionTime