public static enum Constants.MediaType extends java.lang.Enum<Constants.MediaType>
Enum Constant and Description |
---|
AUDIO_AND_VIDEO
Audio and video.
|
AUDIO_ONLY
Audio only.
|
NONE
No audio and video.
|
VIDEO_ONLY
Video only.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.MediaType type) |
static Constants.MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaType NONE
public static final Constants.MediaType AUDIO_ONLY
public static final Constants.MediaType VIDEO_ONLY
public static final Constants.MediaType AUDIO_AND_VIDEO
public static Constants.MediaType[] values()
for (Constants.MediaType c : Constants.MediaType.values()) System.out.println(c);
public static Constants.MediaType 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 nullpublic static int getValue(Constants.MediaType type)