Interface RosterLoadedListener

    • Method Detail

      • onRosterLoaded

        void onRosterLoaded​(Roster roster)
        Called when the Roster was loaded successfully.
        Parameters:
        roster - the Roster that was loaded successfully.
      • onRosterLoadingFailed

        void onRosterLoadingFailed​(java.lang.Exception exception)
        Called when roster loading has failed.

        Note that the reason for the failure could be as trivial as the connection being not connected, in which case the exception will be a SmackException.NotConnectedException.

        Parameters:
        exception - the exception which caused the failure.
        Since:
        4.2