public static class CapabilityRemoteControl.ExecuteCommand<T extends Command<? extends Capability.CommandId>> extends Command<CapabilityRemoteControl.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>)
while sending execute commands.Command.State
Modifier and Type | Field and Description |
---|---|
java.lang.String |
applianceId |
Capability.CapabilityId |
capabilityId |
T |
command |
Constructor and Description |
---|
ExecuteCommand(java.lang.String applianceId,
Capability.CapabilityId capabilityId,
T command)
Constructor for Execute command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString
@SerializedName(value="applianceId") public final java.lang.String applianceId
@SerializedName(value="capabilityId") public final Capability.CapabilityId capabilityId
@SerializedName(value="commandParamValuesStruct") public final T extends Command<? extends Capability.CommandId> command
public ExecuteCommand(java.lang.String applianceId, Capability.CapabilityId capabilityId, T command)
applianceId
- String id of the appliance which executes commandcapabilityId
- CapabilityID of the recipient devicecommand
- Command which has to be executed