public interface DeviceAction
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeviceAction.Status
Status of the DeviceAction when there is a failure,
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceId() |
String |
getTypeId() |
void |
setMessage(String message) |
void |
setStatus(DeviceAction.Status status)
Set the failure status of the current device action
The Device Action handler must use this method to report the failure status back to IBM Watson IoT Platform whenever there is a failure. |
void |
setStatus(DeviceAction.Status status,
String message)
Set the failure status of the current device action
The Device Action handler must use this method to report the failure status back to IBM Watson IoT Platform whenever there is a failure. |
void setStatus(DeviceAction.Status status)
Set the failure status of the current device action
The Device Action handler must use this method to report
the failure status back to IBM Watson IoT Platform whenever
there is a failure.
status - Failure status of the current device actionvoid setStatus(DeviceAction.Status status, String message)
Set the failure status of the current device action
The Device Action handler must use this method to report
the failure status back to IBM Watson IoT Platform whenever
there is a failure.
status - Failure status of the current device actionmessage - Failure message to be reportedString getTypeId()
String getDeviceId()
void setMessage(String message)
Copyright © 2019. All rights reserved.