Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Media
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • Web
  • Technology Partners
  • Methods
    • API Requests
    • Async API Requests
    • Authentication
    • Dialogs
    • Helpers
  • Interfaces
    • -
    • DialogListener
  • Errors
    • DialogError
    • FacebookError

DialogListener

The DialogListener Interface provides the callback methods for the Dialog methods. These are defined in Facebook.java.

Callback Methods


void onCancel():

Called when a dialog is canceled by the user, executed by the thread that initiated the dialog.

Parameters

None


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.


void onError(DialogError de):

Called when a dialog has an error, executed by the thread that initiated the dialog.

Parameters

de - The DialogError encapsulating the error, this is defined in the DialogError.java.


void onFacebookError(FacebookError fbe):

Called when a Facebook responds to a dialog with an error, executed by the thread that initiated the dialog.

Parameters

fbe - Encapsulation of a Facebook Error. This is defined in FacebookError.java.

Updated over a year ago
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy