-
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DeviceShareDialog.Result
-
Constructor Summary
Constructors Constructor Description DeviceShareDialog(Activity activity)
Constructs a new DeviceShareDialog. DeviceShareDialog(Fragment fragment)
Constructs a new DeviceShareDialog. DeviceShareDialog(Fragment fragment)
Constructs a new DeviceShareDialog.
-
Method Summary
Modifier and Type Method Description -
-
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
-
-
-
-