| Package | Description |
|---|---|
| com.facebook | |
| com.facebook.internal |
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android.
|
| com.facebook.widget |
| Modifier and Type | Method and Description |
|---|---|
void |
Session.addCallback(Session.StatusCallback callback)
Adds a callback that will be called when the state of this Session changes.
|
void |
Session.open(AccessToken accessToken,
Session.StatusCallback callback)
Opens a session based on an existing Facebook access token.
|
static Session |
Session.openActiveSession(Activity activity,
boolean allowLoginUI,
Session.StatusCallback callback)
If allowLoginUI is true, this will create a new Session, make it active, and
open it.
|
static Session |
Session.openActiveSession(android.content.Context context,
Fragment fragment,
boolean allowLoginUI,
Session.StatusCallback callback)
If allowLoginUI is true, this will create a new Session, make it active, and
open it.
|
static Session |
Session.openActiveSessionWithAccessToken(android.content.Context context,
AccessToken accessToken,
Session.StatusCallback callback)
Opens a session based on an existing Facebook access token, and also makes this session
the currently active session.
|
void |
Session.removeCallback(Session.StatusCallback callback)
Removes a StatusCallback from this Session.
|
static Session |
Session.restoreSession(android.content.Context context,
TokenCachingStrategy cachingStrategy,
Session.StatusCallback callback,
android.os.Bundle bundle)
Restores the saved session from a Bundle, if any.
|
Session.OpenRequest |
Session.OpenRequest.setCallback(Session.StatusCallback statusCallback)
Sets the StatusCallback for the OpenRequest.
|
Session.NewPermissionsRequest |
Session.NewPermissionsRequest.setCallback(Session.StatusCallback statusCallback)
Sets the StatusCallback for the NewPermissionsRequest.
|
| Constructor and Description |
|---|
UiLifecycleHelper(Activity activity,
Session.StatusCallback callback)
Creates a new UiLifecycleHelper.
|
| Constructor and Description |
|---|
SessionTracker(android.content.Context context,
Session.StatusCallback callback)
Constructs a SessionTracker to track the active Session object.
|
SessionTracker(android.content.Context context,
Session.StatusCallback callback,
Session session,
boolean startTracking)
Constructs a SessionTracker to track the Session object passed in.
|
| Modifier and Type | Method and Description |
|---|---|
Session.StatusCallback |
LoginButton.getSessionStatusCallback()
Sets the callback interface that will be called whenever the status of the Session
associated with this LoginButton changes.
|
Session.StatusCallback |
UserSettingsFragment.getSessionStatusCallback()
Sets the callback interface that will be called whenever the status of the Session
associated with this LoginButton changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoginButton.setSessionStatusCallback(Session.StatusCallback callback)
Sets the callback interface that will be called whenever the status of the Session
associated with this LoginButton changes.
|
void |
UserSettingsFragment.setSessionStatusCallback(Session.StatusCallback callback)
Sets the callback interface that will be called whenever the status of the Session
associated with this LoginButton changes.
|
Copyright © 2013. All Rights Reserved.