Facebook.ServiceListener
This class is no longer available in the most recent version of the SDK.
A more recent version of this class is available. Check out the latest version.

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.

Package:android
Instance Methods
onComplete(Bundle)

Called when a service request completes.

public void onComplete(Bundle values)
ParameterDescription
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)
ParameterDescription
e
onError(Error)

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

public void onError(Error e)
ParameterDescription
e