public static class CapabilityMotorControl.Pan extends Command<CapabilityMotorControl.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>)
while sending pan commands.Command.State
Modifier and Type | Field and Description |
---|---|
int |
degree |
CapabilityMotorControl.PanDirection |
direction |
int |
speed |
Constructor and Description |
---|
Pan() |
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString
@SerializedName(value="direction") public CapabilityMotorControl.PanDirection direction
@SerializedName(value="degree") public int degree
@SerializedName(value="speed") public int speed