public static enum FacebookDialog.ShareDialogFeature extends Enum<FacebookDialog.ShareDialogFeature> implements FacebookDialog.DialogFeature
FacebookDialog.canPresentShareDialog(android.content.Context,
com.facebook.widget.FacebookDialog.ShareDialogFeature...)
to determine whether the version of the Facebook application installed on the user's device is recent
enough to support specific features, which in turn may be used to determine which UI, etc., to present to the
user.Enum Constant and Description |
---|
PHOTOS
Indicates whether the native Share dialog supports sharing of photo images.
|
SHARE_DIALOG
Indicates whether the native Share dialog itself is supported by the installed version of the
Facebook application.
|
VIDEO
Indicates whether the native Share dialog supports sharing of videos.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
This method is for internal use only.
|
int |
getMinVersion()
This method is for internal use only.
|
static FacebookDialog.ShareDialogFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacebookDialog.ShareDialogFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final FacebookDialog.ShareDialogFeature SHARE_DIALOG
public static final FacebookDialog.ShareDialogFeature PHOTOS
public static final FacebookDialog.ShareDialogFeature VIDEO
public static FacebookDialog.ShareDialogFeature[] values()
for (FacebookDialog.ShareDialogFeature c : FacebookDialog.ShareDialogFeature.values()) System.out.println(c);
public static FacebookDialog.ShareDialogFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getAction()
getAction
in interface FacebookDialog.DialogFeature
public int getMinVersion()
getMinVersion
in interface FacebookDialog.DialogFeature