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