@ProviderType
public interface DeviceCommand
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
Returns the message of the command.
|
JSONObject |
getPayload()
Returns the payload of the command or
null if no payload specified. |
boolean |
isAcknowledged()
Returns whether the command was acknowledged by the device or not.
|
boolean |
isDelivered()
Returns whether the command was delivered to the device or not.
|
boolean |
requiresAck()
Returns whether the command needs to be acknowledged by the device or not.
|
@Nonnull java.lang.String getCommand()
@Nullable JSONObject getPayload()
null
if no payload specified.null
if no payloadboolean requiresAck()
boolean isAcknowledged()
boolean isDelivered()
Copyright © 2010 - 2020 Adobe. All Rights Reserved