Android SDK Version

public interface LoginStatusCallback
A callback class for getting the Login Status of a user.
Method Summary
Modifier and TypeMethod and Description
voidonCompleted(AccessToken accessToken)
Called when an access token is able to be retrieved successfully.
voidonError(java.lang.Exception exception)
Called when there was an error getting the login status of a user.
voidonFailure()
Called when an access token could not be retrieved.
Method Detail

onCompleted

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

void onFailure()
Called when an access token could not be retrieved.

onError

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