public static class CapabilityLevel.SetLevelOnOff extends CapabilityLevel.LevelCommand
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>)
while sending Level control commands with OnOff toggling.Command.State| Modifier and Type | Field and Description |
|---|---|
boolean |
restoreLevel |
levelPct, transitionTime, useDefaultTransitionTime| Constructor and Description |
|---|
SetLevelOnOff(boolean useDefaultTransitionTime)
Constructor with a param.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString