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.
Perpanjang: | BroadcastReceiver |
Paket: | facebook |
FacebookBroadcastReceiver()
public FacebookBroadcastReceiver()
onReceive(Context, Intent)
public void onReceive(Context context, Intent intent)
Parameter | Keterangan |
---|---|
context | |
intent |
onSuccessfulAppCall(String, String, Bundle)
protected void onSuccessfulAppCall(String appCallId, String action, Bundle extras)
Parameter | Keterangan |
---|---|
appCallId | |
action | |
extras |
onFailedAppCall(String, String, Bundle)
protected void onFailedAppCall(String appCallId, String action, Bundle extras)
Parameter | Keterangan |
---|---|
appCallId | |
action | |
extras |