-
public interface FacebookCallback<RESULT>A callback class for the Facebook SDK.
-
-
Method Summary
-
-
Method Detail
-
onSuccess
abstract void onSuccess(RESULT result)
Called when the dialog completes without error.
Note: This will be called instead of onCancel if any of the following conditionsare true.
- com.facebook.share.widget.MessageDialog is used.
- The logged in Facebook user has not authorized the app that has initiated the dialog.
- Parameters:
result- Result from the dialog
-
onCancel
abstract void onCancel()
Called when the dialog is canceled.
Note: onSuccess will be called instead if any of the following conditionsare true.
- com.facebook.share.widget.MessageDialog is used.
- The logged in Facebook user has not authorized the app that has initiated the dialog.
-
onError
abstract void onError(FacebookException error)
Called when the dialog finishes with an error.
- Parameters:
error- The error that occurred
-
-
-
-