Facebook.ServiceListener
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

Callback interface for service requests.

THIS CLASS SHOULD BE CONSIDERED DEPRECATED.

All public members of this class are intentionally deprecated. New code should instead use Session to manage session state.

Adding @Deprecated to this class causes warnings in other deprecated classes that reference this one. That is the only reason this entire class is not deprecated.

套件:android
執行個體方法
onComplete(Bundle)

Called when a service request completes.

public void onComplete(Bundle values)
參數說明
valuesKey-value string pairs extracted from the response.
onFacebookError(FacebookError)

Called when a Facebook server responds to the request with an error.

public void onFacebookError(FacebookError e)
參數說明
e
onError(Error)

Called when a Facebook Service responds to the request with an error.

public void onError(Error e)
參數說明
e