public final class CallbackManagerImpl extends java.lang.Object implements CallbackManager
Modifier and Type | Class and Description |
---|---|
static interface |
CallbackManagerImpl.Callback |
static class |
CallbackManagerImpl.RequestCodeOffset |
CallbackManager.Factory
Constructor and Description |
---|
CallbackManagerImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
The method that should be called from the Activity's or Fragment's onActivityResult method.
|
void |
registerCallback(int requestCode,
CallbackManagerImpl.Callback callback) |
static void |
registerStaticCallback(int requestCode,
CallbackManagerImpl.Callback callback)
If there is no explicit callback, but we still need to call the Facebook component,
because it's going to update some state, e.g., login, like.
|
public static void registerStaticCallback(int requestCode, CallbackManagerImpl.Callback callback)
requestCode
- The request code.callback
- The callback for the feature.public void registerCallback(int requestCode, CallbackManagerImpl.Callback callback)
public boolean onActivityResult(int requestCode, int resultCode, android.content.Intent data)
CallbackManager
onActivityResult
in interface CallbackManager
requestCode
- The request code that's received by the Activity or Fragment.resultCode
- The result code that's received by the Activity or Fragment.data
- The result data that's received by the Activity or Fragment.