Android SDK Version


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

onFailure

 abstract UnitonFailure()
Called when an access token could not be retrieved.

onError

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