Android SDK Version


public interface AccessToken.AccessTokenCreationCallback
A callback for creating an access token from a NativeLinkingIntent
Method Summary
Modifier and TypeMethodDescription
abstract UnitonSuccess(AccessToken token) The method called on a successful creation of an AccessToken.
abstract UnitonError(FacebookException error) The method called on a failed creation of an AccessToken.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

onSuccess

 abstract UnitonSuccess(AccessToken token)
The method called on a successful creation of an AccessToken.
Parameters:
token - the access token created from the native link intent.

onError

 abstract UnitonError(FacebookException error)
The method called on a failed creation of an AccessToken.
Parameters:
error - throw from AccessToken creation.