public static enum ActionContent.Category extends java.lang.Enum<ActionContent.Category>
Enum Constant and Description |
---|
AUDIO
Audio file - audio/mp4, audio/mpeg, audio/ogg, audio/webm or audio/vorbis.
|
IMAGE
Image file - image/png, image/jpeg or image/gif.
|
TEXT
Plain text - text/plain.
|
UNKNOWN
Unknown file.
|
VIDEO
Video file - video/mpeg, video/mp4, video/ogg, video/webm, video/quicktime, video/theora or application/x-matroska.
|
Modifier and Type | Method and Description |
---|---|
static ActionContent.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionContent.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionContent.Category IMAGE
public static final ActionContent.Category AUDIO
public static final ActionContent.Category VIDEO
public static final ActionContent.Category TEXT
public static final ActionContent.Category UNKNOWN
public static ActionContent.Category[] values()
for (ActionContent.Category c : ActionContent.Category.values()) System.out.println(c);
public static ActionContent.Category 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