Package 

Interface SendBird.ConnectionHandler


  • 
    public interface SendBird.ConnectionHandler
    
                        

    Connection handler. This handler provides callbacks for automatically managed reconnection events.SendBird tries reconnection when the connection is lost. This handler can be used to track the reconnection state.To add or remove this handler, refer to addConnectionHandler and removeConnectionHandler.

    • Method Summary

      Modifier and Type Method Description
      abstract void onReconnectStarted() A callback for when SendBird tries to reconnect.
      abstract void onReconnectSucceeded() A callback for when connection is reestablished.
      abstract void onReconnectFailed() A callback for when reconnection is failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onReconnectStarted

         abstract void onReconnectStarted()

        A callback for when SendBird tries to reconnect.

      • onReconnectSucceeded

         abstract void onReconnectSucceeded()

        A callback for when connection is reestablished.

      • onReconnectFailed

         abstract void onReconnectFailed()

        A callback for when reconnection is failed.