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