public static enum FacebookDialog.MessageDialogFeature extends Enum<FacebookDialog.MessageDialogFeature>
FacebookDialog.canPresentMessageDialog(android.content.Context,
com.facebook.widget.FacebookDialog.MessageDialogFeature...)
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 |
---|
MESSAGE_DIALOG
Indicates whether the native Message dialog itself is supported by the installed version of the
Facebook application.
|
PHOTOS
Indicates whether the native Message dialog supports sharing of photo images.
|
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.MessageDialogFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacebookDialog.MessageDialogFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacebookDialog.MessageDialogFeature MESSAGE_DIALOG
public static final FacebookDialog.MessageDialogFeature PHOTOS
public static FacebookDialog.MessageDialogFeature[] values()
for (FacebookDialog.MessageDialogFeature c : FacebookDialog.MessageDialogFeature.values()) System.out.println(c);
public static FacebookDialog.MessageDialogFeature 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()
public int getMinVersion()