public enum ContentCategory extends java.lang.Enum<ContentCategory>
| Enum Constant and Description |
|---|
AUDIO
The AUDIO indicates that content is an audio file.
|
IMAGE
The IMAGE indicates that content is an image file.
|
TEXT
The TEXT indicates that content is a plain text.
|
UNKNOWN
The UNKNOWN content category.
|
VIDEO
The VIDEO indicates that content is a video file.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentCategory IMAGE
public static final ContentCategory AUDIO
public static final ContentCategory VIDEO
public static final ContentCategory TEXT
public static final ContentCategory UNKNOWN
public static ContentCategory[] values()
for (ContentCategory c : ContentCategory.values()) System.out.println(c);
public static ContentCategory 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