Versione dell'SDK Android


public interface FacebookCallback<RESULT extends Object>
A callback class for the Facebook SDK.
Method Summary
Modifier and TypeMethodDescription
abstract UnitonSuccess(RESULT result) Called when the dialog completes without error.
abstract UnitonCancel() Called when the dialog is canceled.
abstract UnitonError(FacebookException error) Called when the dialog finishes with an error.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

onSuccess

 abstract UnitonSuccess(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.
Parameters:
result - Result from the dialog

onCancel

 abstract UnitonCancel()
Called when the dialog is canceled.
Note: .onSuccess will be called instead if any of the following conditions are true.

onError

 abstract UnitonError(FacebookException error)
Called when the dialog finishes with an error.
Parameters:
error - The error that occurred