Package com.blukii.sdk.config
Interface ConnectionListener
public interface ConnectionListener
The listener interface for receiving state changes of the connection with a blukii device.
Implementations of this interface get notified when the state of the connection between host
device and blukii device has changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback for requestBlukii.connect(ConnectionListener)
.void
onDisconnected
(DisconnectReason reason) Callback if the device has been disconnected.
-
Method Details
-
onConnected
void onConnected()Callback for requestBlukii.connect(ConnectionListener)
.The blukii device has connected successfully.
-
onDisconnected
Callback if the device has been disconnected.- Parameters:
reason
- the reason why the device has been disconnected- See Also:
-