com.drismo.facebook
Class ShareOnFacebook.LoginDialogListener

java.lang.Object
  extended by com.drismo.facebook.ShareOnFacebook.LoginDialogListener
All Implemented Interfaces:
Facebook.DialogListener
Enclosing class:
ShareOnFacebook

 class ShareOnFacebook.LoginDialogListener
extends java.lang.Object
implements Facebook.DialogListener

Listen to events from the Facebook.DialogListener, and give the user relevant feedback.


Constructor Summary
ShareOnFacebook.LoginDialogListener()
           
 
Method Summary
 void onCancel()
          Called when a dialog is canceled by the user.
 void onComplete(android.os.Bundle values)
          Called when a dialog completes.
 void onError(DialogError error)
          Called when a dialog has an error.
 void onFacebookError(FacebookError error)
          Called when a Facebook responds to a dialog with an error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShareOnFacebook.LoginDialogListener

ShareOnFacebook.LoginDialogListener()
Method Detail

onComplete

public void onComplete(android.os.Bundle values)
Description copied from interface: Facebook.DialogListener
Called when a dialog completes. Executed by the thread that initiated the dialog.

Specified by:
onComplete in interface Facebook.DialogListener
Parameters:
values - Key-value string pairs extracted from the response.

onFacebookError

public void onFacebookError(FacebookError error)
Description copied from interface: Facebook.DialogListener
Called when a Facebook responds to a dialog with an error. Executed by the thread that initiated the dialog.

Specified by:
onFacebookError in interface Facebook.DialogListener

onError

public void onError(DialogError error)
Description copied from interface: Facebook.DialogListener
Called when a dialog has an error. Executed by the thread that initiated the dialog.

Specified by:
onError in interface Facebook.DialogListener

onCancel

public void onCancel()
Description copied from interface: Facebook.DialogListener
Called when a dialog is canceled by the user. Executed by the thread that initiated the dialog.

Specified by:
onCancel in interface Facebook.DialogListener