how I can locate the status of devices via Java API ?
- at first, the current status
- Then when something on status changes anything! Example diconnected
Thanks
how I can locate the status of devices via Java API ?
Thanks
Status information about the device is usually contained in the managedObject. Getting this information can be simply done through querying the object with InventoryApi.
For realtime notifications you can take a look at the class InventoryRealtimeNotificationsSubscriber. You would subscribe to with the ID of the managedObject. You will receive all updates to the object itself (like status changes) while subscribed to it.