public static enum ShareDialog.Mode extends java.lang.Enum<ShareDialog.Mode>
Enum Constant and Description |
---|
AUTOMATIC
The mode is determined automatically.
|
FEED
The feed dialog is used.
|
NATIVE
The native dialog is used.
|
WEB
The web dialog is used.
|
Modifier and Type | Method and Description |
---|---|
static ShareDialog.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShareDialog.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareDialog.Mode AUTOMATIC
public static final ShareDialog.Mode NATIVE
public static final ShareDialog.Mode WEB
public static final ShareDialog.Mode FEED
public static ShareDialog.Mode[] values()
for (ShareDialog.Mode c : ShareDialog.Mode.values()) System.out.println(c);
public static ShareDialog.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null