FacebookBroadcastReceiver
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

This class implements a simple BroadcastReceiver designed to listen for broadcast notifications from the Facebook app. At present, these notifications consistent of success/failure notifications for photo upload operations that happen in the background.

Applications may subclass this class and register it in their AndroidManifest.xml. The receiver is listening the com.facebook.platform.AppCallResultBroadcast action.

Prolonge :BroadcastReceiver
Package :facebook
Constructeurs
FacebookBroadcastReceiver()
public FacebookBroadcastReceiver()
Méthodes d’instance
onSuccessfulAppCall(String, String, Bundle)

Invoked when the operation was completed successfully.

protected void onSuccessfulAppCall(String appCallId, String action, Bundle extras)
ParamètreDescription
appCallIdThe App Call ID.
actionThe action performed.
extrasAny extra information.
onFailedAppCall(String, String, Bundle)

Invoked when the operation failed to complete.

protected void onFailedAppCall(String appCallId, String action, Bundle extras)
ParamètreDescription
appCallIdThe App Call ID.
actionThe action performed.
extrasAny extra information.