public interface DeviceConnectionCallback
Modifier and Type | Method and Description |
---|---|
void |
onConnected()
Called when Bluetooth connection to device is established.
|
void |
onConnectionFailed(DeviceConnectionException exception)
Invoked when it was not possible to establish connection to device (authentication error, Bluetooth error).
|
void |
onDisconnected()
Invoked when connection gets disconnected.
|
void onConnected()
void onDisconnected()
void onConnectionFailed(DeviceConnectionException exception)
exception
- For authentication error is returns DeviceAuthenticationException