public static class CapabilityLevel.LevelCommand extends Command<CapabilityLevel.CommandId>
Command.State| Modifier and Type | Field and Description |
|---|---|
int |
levelPct
The level to be set on the resource.
|
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.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="levelPct") public int levelPct
@SerializedName(value="useDefaultTransTimeFlag") public boolean useDefaultTransitionTime
@SerializedName(value="transitionTimeMs") public int transitionTime