public static interface Device.DeviceManagementStatusListener extends Listener
Device.sendDeviceManagementCommand(Command, DeviceManagementStatusListener).| Modifier and Type | Method and Description |
|---|---|
void |
onStatusChanged(CommandResponse<Device.CommandId> response,
Resource[] resourcesImpacted,
java.lang.Throwable tr)
A function that needs to implemented to get callback about status of command sent.
|
void onStatusChanged(CommandResponse<Device.CommandId> response, Resource[] resourcesImpacted, java.lang.Throwable tr)
response - response to command sent.resourcesImpacted - Resource impacted by the command.tr - Throwable in case if any exception occurred.