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