FacebookBroadcastReceiver

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.

伸延:BroadcastReceiver
套件:facebook
建構函式
FacebookBroadcastReceiver()
public FacebookBroadcastReceiver()
執行個體方法
onSuccessfulAppCall(String, String, Bundle)

Invoked when the operation was completed successfully.

protected void onSuccessfulAppCall(String appCallId, String action, Bundle extras)
參數說明
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)
參數說明
appCallIdThe App Call ID.
actionThe action performed.
extrasAny extra information.