Package com.medm.devicekit
Interface IDeviceStatusCallback
- All Known Subinterfaces:
IDeviceStatusWithAddResultCallback
public interface IDeviceStatusCallback
Device status callback to get notifications on managed device status change:
-
onConnected(IDeviceDescription)
connection to the device was established. -
onDisconnected(IDeviceDescription, OperationStatus,String)
device was disconnected.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConnected
(IDeviceDescription device) Called when connection to the device is establishedvoid
onDisconnected
(IDeviceDescription device, OperationStatus status, String additionalStatusDescription) Called when device is disconnected
-
Method Details
-
onConnected
Called when connection to the device is established- Parameters:
device
- connected device
-
onDisconnected
void onDisconnected(IDeviceDescription device, OperationStatus status, String additionalStatusDescription) Called when device is disconnected- Parameters:
device
- disconnected devicestatus
- codeadditionalStatusDescription
- - may be empty string
-