public static interface FacebookDialog.Callback
Modifier and Type | Method and Description |
---|---|
void |
onComplete(FacebookDialog.PendingCall pendingCall,
Bundle data)
Called when the user completes interacting with a Facebook dialog.
|
void |
onError(FacebookDialog.PendingCall pendingCall,
Exception error,
Bundle data)
Called if an error occurred while presenting a Facebook dialog.
|
void onComplete(FacebookDialog.PendingCall pendingCall, Bundle data)
pendingCall
- a PendingCall containing the call ID and original Intent used to launch the dialogdata
- a Bundle containing the results of the dialog, whose contents will vary depending on the
type of dialog being displayed.void onError(FacebookDialog.PendingCall pendingCall, Exception error, Bundle data)
pendingCall
- a PendingCall containing the call ID and original Intent used to launch the dialogerror
- the error that occurreddata
- the full set of extras associated with the activity result