com.facebook.android
Interface Facebook.ServiceListener

Enclosing class:
Facebook

public static interface Facebook.ServiceListener

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.


Method Summary
 void onComplete(Bundle values)
          Called when a service request completes.
 void onError(Error e)
          Called when a Facebook Service responds to the request with an error.
 void onFacebookError(FacebookError e)
          Called when a Facebook server responds to the request with an error.
 

Method Detail

onComplete

void onComplete(Bundle values)
Called when a service request completes.

Parameters:
values - Key-value string pairs extracted from the response.

onFacebookError

void onFacebookError(FacebookError e)
Called when a Facebook server responds to the request with an error.


onError

void onError(Error e)
Called when a Facebook Service responds to the request with an error.