public interface ICloverTransportObserver
Modifier and Type | Method and Description |
---|---|
void |
onDeviceConnected(ICloverTransport transport)
Device is there but not yet ready for use
|
void |
onDeviceDisconnected(ICloverTransport transport)
Device is not there anymore
|
void |
onDeviceReady(ICloverTransport transport)
Device is there and ready for use
|
void |
onMessage(java.lang.String message)
Called when a raw message is received from the device
|
void onDeviceConnected(ICloverTransport transport)
transport
- transport on which the event was receivedvoid onDeviceReady(ICloverTransport transport)
transport
- transport on which the event was receivedvoid onDeviceDisconnected(ICloverTransport transport)
transport
- transport on which the event was receivedvoid onMessage(java.lang.String message)
message
- message