Android SDK Version

public class DeviceShareDialog
extends com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>
Nested Class Summary
Modifier and TypeClass and Description
static class DeviceShareDialog.Result 
Nested classes/interfaces inherited from class com.facebook.internal.FacebookDialogBase
com.facebook.internal.FacebookDialogBase.ModeHandler
Field Summary
Fields inherited from class com.facebook.internal.FacebookDialogBase
BASE_AUTOMATIC_MODE
Constructor Summary
Constructor and Description
DeviceShareDialog(Activity activity)
Constructs a new DeviceShareDialog.
DeviceShareDialog(android.support.v4.app.Fragment fragment)
Constructs a new DeviceShareDialog.
DeviceShareDialog(Fragment fragment)
Constructs a new DeviceShareDialog.
Method Summary
Modifier and TypeMethod and Description
protected booleancanShowImpl(ShareContent content, java.lang.Object mode) 
protected com.facebook.internal.AppCallcreateBaseAppCall() 
protected java.util.List<com.facebook.internal.FacebookDialogBase.ModeHandler>getOrderedModeHandlers() 
protected voidregisterCallbackImpl(com.facebook.internal.CallbackManagerImpl callbackManager, FacebookCallback<DeviceShareDialog.Result> callback) 
protected voidshowImpl(ShareContent content, java.lang.Object mode) 
Methods inherited from class com.facebook.internal.FacebookDialogBase
canShow, getActivityContext, getRequestCode, registerCallback, registerCallback, setRequestCode, show, startActivityForResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

DeviceShareDialog

public DeviceShareDialog(Activity activity)
Constructs a new DeviceShareDialog.
Parameters:
activity - Activity to use to share the provided content

DeviceShareDialog

public DeviceShareDialog(Fragment fragment)
Constructs a new DeviceShareDialog.
Parameters:
fragment - fragment to use to share the provided content

DeviceShareDialog

public DeviceShareDialog(android.support.v4.app.Fragment fragment)
Constructs a new DeviceShareDialog.
Parameters:
fragment - fragment to use to share the provided content
Method Detail

canShowImpl

protected boolean canShowImpl(ShareContent content,
                              java.lang.Object mode)
Overrides:
canShowImpl in class com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>

showImpl

protected void showImpl(ShareContent content,
                        java.lang.Object mode)
Overrides:
showImpl in class com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>

getOrderedModeHandlers

protected java.util.List<com.facebook.internal.FacebookDialogBase.ModeHandler> getOrderedModeHandlers()
Specified by:
getOrderedModeHandlers in class com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>

createBaseAppCall

protected com.facebook.internal.AppCall createBaseAppCall()
Specified by:
createBaseAppCall in class com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>

registerCallbackImpl

protected void registerCallbackImpl(com.facebook.internal.CallbackManagerImpl callbackManager,
                                    FacebookCallback<DeviceShareDialog.Result> callback)
Specified by:
registerCallbackImpl in class com.facebook.internal.FacebookDialogBase<ShareContent,DeviceShareDialog.Result>