public static enum VideoEncoderConfiguration.ENCODING_PREFERENCE extends java.lang.Enum<VideoEncoderConfiguration.ENCODING_PREFERENCE>
Enum Constant and Description |
---|
PREFER_AUTO
Default hardware encoding.
|
PREFER_HARDWARE
Hardware encoding
|
PREFER_SOFTWARE
Software encoding.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static VideoEncoderConfiguration.ENCODING_PREFERENCE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoEncoderConfiguration.ENCODING_PREFERENCE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoEncoderConfiguration.ENCODING_PREFERENCE PREFER_AUTO
public static final VideoEncoderConfiguration.ENCODING_PREFERENCE PREFER_SOFTWARE
public static final VideoEncoderConfiguration.ENCODING_PREFERENCE PREFER_HARDWARE
public static VideoEncoderConfiguration.ENCODING_PREFERENCE[] values()
for (VideoEncoderConfiguration.ENCODING_PREFERENCE c : VideoEncoderConfiguration.ENCODING_PREFERENCE.values()) System.out.println(c);
public static VideoEncoderConfiguration.ENCODING_PREFERENCE 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()