Package 

Class DeviceShareDialog

  • All Implemented Interfaces:
    com.facebook.FacebookDialog

    @Deprecated() 
    public class DeviceShareDialog
    extends FacebookDialogBase<ShareContent, DeviceShareDialog.Result>
                        

    Provides functionality to share from devices. See https://developers.facebook.com/docs/android/devices

    Only ShareLinkContent and ShareOpenGraphContent are supported.

    The dialog does not indicate if the person completed a share. Therefore, the callback will always either invoke onSuccess or onError.

    The dialog can also dismiss itself after the device code has expired.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.facebook.internal.FacebookDialogBase

        canShow, getCallbackManager$facebook_common_debug, getRequestCode, registerCallback, setCallbackManager, setCallbackManager$facebook_common_debug, setRequestCode, show
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceShareDialog

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

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

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