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()
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 |