Interface DisconnectionListener


  • @API(status=MAINTAINED)
    public interface DisconnectionListener
    Implement this interface if you’d like to be notified when the Carabiner connection is closed, either intentionally or unexpectedly.
    • Method Detail

      • connectionClosed

        @API(status=MAINTAINED)
        void connectionClosed​(boolean unexpected)
        Called when the Carabiner connection is closed.
        Parameters:
        unexpected - if the closure was not requested