public static enum MediaUtils.VideoCodecType extends java.lang.Enum<MediaUtils.VideoCodecType>
Enum Constant and Description |
---|
VIDEO_CODEC_H264
H.264.
|
VIDEO_CODEC_VP8
VP8.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MediaUtils.VideoCodecType |
getValue(int value) |
static MediaUtils.VideoCodecType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaUtils.VideoCodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaUtils.VideoCodecType VIDEO_CODEC_VP8
public static final MediaUtils.VideoCodecType VIDEO_CODEC_H264
public static MediaUtils.VideoCodecType[] values()
for (MediaUtils.VideoCodecType c : MediaUtils.VideoCodecType.values()) System.out.println(c);
public static MediaUtils.VideoCodecType 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 int getValue()
public static MediaUtils.VideoCodecType getValue(int value)