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