public static enum Constant.EncoderInputMode extends java.lang.Enum<Constant.EncoderInputMode>
| Enum Constant and Description |
|---|
BUFFER
MediaCodec input source from YUV420sp buffer
|
SURFACE
MediaCodec input source from surface
|
UDEF |
| Modifier and Type | Method and Description |
|---|---|
static Constant.EncoderInputMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constant.EncoderInputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constant.EncoderInputMode SURFACE
public static final Constant.EncoderInputMode BUFFER
public static final Constant.EncoderInputMode UDEF
public static Constant.EncoderInputMode[] values()
for (Constant.EncoderInputMode c : Constant.EncoderInputMode.values()) System.out.println(c);
public static Constant.EncoderInputMode 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