public interface FacebookCallback<RESULT>
| Modifier and Type | Method and Description |
|---|---|
void |
onCancel()
Called when the dialog is canceled.
|
void |
onError(com.facebook.FacebookException error)
Called when the dialog finishes with an error.
|
void |
onSuccess(RESULT result)
Called when the dialog completes without error.
|
void onSuccess(RESULT result)
Note: This will be called instead of onCancel() if any of the following conditions
are true.
com.facebook.share.widget.MessageDialog is used.
result - Result from the dialogvoid onCancel()
Note: onSuccess(Object) will be called instead if any of the following conditions
are true.
com.facebook.share.widget.MessageDialog is used.
void onError(com.facebook.FacebookException error)
error - The error that occurred