Android SDK Version
All Implemented Interfaces:
com.facebook.FacebookDialog


public abstract class FacebookDialogBase<CONTENT, RESULT>
 implements FacebookDialog<CONTENT, RESULT>
                    
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Field Summary
Modifier and TypeFieldDescription
private intrequestCode
Method Summary
Modifier and TypeMethodDescription
intgetRequestCode() Returns the request code used for this dialog.
voidsetRequestCode(int requestCode) Set the request code for the startActivityForResult call.
final voidregisterCallback(CallbackManager callbackManager, FacebookCallback<RESULT> callback)
final voidregisterCallback(CallbackManager callbackManager, FacebookCallback<RESULT> callback, int requestCode)
booleancanShow(CONTENT content)
voidshow(CONTENT content)
Methods inherited from class com.facebook.FacebookDialog
canShow, registerCallback, show
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getRequestCode

 int getRequestCode()
Returns the request code used for this dialog.

setRequestCode

 void setRequestCode(int requestCode)
Set the request code for the startActivityForResult call. The requestCode should be outside ofthe range of those reserved for the Facebook SDK .
Parameters:
requestCode - the request code to use.

registerCallback

 final void registerCallback(CallbackManager callbackManager, FacebookCallback<RESULT> callback)

registerCallback

 final void registerCallback(CallbackManager callbackManager, FacebookCallback<RESULT> callback, int requestCode)

canShow

 boolean canShow(CONTENT content)

show

 void show(CONTENT content)