com.facebook.android
Interface Facebook.DialogListener

Enclosing class:
Facebook

public static interface Facebook.DialogListener

Callback interface for dialog requests.

THIS CLASS SHOULD BE CONSIDERED DEPRECATED.

All public members of this class are intentionally deprecated. New code should instead use WebDialog

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 onCancel()
          Called when a dialog is canceled by the user.
 void onComplete(Bundle values)
          Called when a dialog completes.
 void onError(DialogError e)
          Called when a dialog has an error.
 void onFacebookError(FacebookError e)
          Called when a Facebook responds to a dialog with an error.
 

Method Detail

onComplete

void onComplete(Bundle values)
Called when a dialog completes. Executed by the thread that initiated the dialog.

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

onFacebookError

void onFacebookError(FacebookError e)
Called when a Facebook responds to a dialog with an error. Executed by the thread that initiated the dialog.


onError

void onError(DialogError e)
Called when a dialog has an error. Executed by the thread that initiated the dialog.


onCancel

void onCancel()
Called when a dialog is canceled by the user. Executed by the thread that initiated the dialog.