public static class CapabilityWarning.StartWarning extends Command<CapabilityWarning.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>) to start warning.Command.State| Modifier and Type | Field and Description |
|---|---|
CapabilityWarning.WarningType |
warningType
The type of warning for which to trigger the alert state.
|
| Constructor and Description |
|---|
StartWarning()
A no-arg constructor to create start warning command.
|
StartWarning(CapabilityWarning.WarningType warningType)
The overloaded constructor taking the warningType.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="warningType") public CapabilityWarning.WarningType warningType
public StartWarning()
public StartWarning(CapabilityWarning.WarningType warningType)
warningType - The warningType of the alarm.