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 Details

    • onConnected

      void onConnected()
      Callback for request Blukii.connect(ConnectionListener).

      The blukii device has connected successfully.

    • onDisconnected

      void onDisconnected(DisconnectReason reason)
      Callback if the device has been disconnected.
      Parameters:
      reason - the reason why the device has been disconnected
      See Also: