public enum TwitterMediaType extends java.lang.Enum<TwitterMediaType>
| Enum Constant and Description |
|---|
DM_GIF |
DM_IMAGE |
DM_VIDEO |
IMAGE |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
static TwitterMediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwitterMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwitterMediaType IMAGE
public static final TwitterMediaType VIDEO
public static final TwitterMediaType DM_IMAGE
public static final TwitterMediaType DM_VIDEO
public static final TwitterMediaType DM_GIF
public static TwitterMediaType[] values()
for (TwitterMediaType c : TwitterMediaType.values()) System.out.println(c);
public static TwitterMediaType 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