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, listening on the com.facebook.platform.AppCallResultBroadcast action.
伸延: | BroadcastReceiver |
套件: | facebook |
FacebookBroadcastReceiver()
public FacebookBroadcastReceiver()
onReceive(Context, Intent)
public void onReceive(Context context, Intent intent)
參數 | 說明 |
---|---|
context | |
intent |
onSuccessfulAppCall(String, String, Bundle)
protected void onSuccessfulAppCall(String appCallId, String action, Bundle extras)
參數 | 說明 |
---|---|
appCallId | |
action | |
extras |
onFailedAppCall(String, String, Bundle)
protected void onFailedAppCall(String appCallId, String action, Bundle extras)
參數 | 說明 |
---|---|
appCallId | |
action | |
extras |