Android SDK Version


public interface LoginStatusCallback
A callback class for getting the Login Status of a user.
Method Summary
Modifier and TypeMethodDescription
abstract voidonCompleted(AccessToken accessToken) Called when an access token is able to be retrieved successfully.
abstract voidonFailure() Called when an access token could not be retrieved.
abstract voidonError(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 void 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 void onFailure()
Called when an access token could not be retrieved.

onError

 abstract void onError(Exception exception)
Called when there was an error getting the login status of a user.
Parameters:
exception - The error that occurred