Package 

Interface LoginStatusCallback


  • 
    public interface LoginStatusCallback
    
                        

    A callback class for getting the Login Status of a user.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onCompleted(AccessToken accessToken) Called when an access token is able to be retrieved successfully.
      abstract Unit onFailure() Called when an access token could not be retrieved.
      abstract Unit onError(Exception exception) Called when there was an error getting the login status of a user.
      • Methods inherited from class java.lang.Object

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

      • onCompleted

         abstract Unit onCompleted(AccessToken accessToken)

        Called when an access token is able to be retrieved successfully.

        Parameters:
        accessToken - The access token retrieved for the user
      • onFailure

         abstract Unit onFailure()

        Called when an access token could not be retrieved.

      • onError

         abstract Unit onError(Exception exception)

        Called when there was an error getting the login status of a user.

        Parameters:
        exception - The error that occurred