Package org.videolan.libvlc.util
Enum HWDecoderUtil.Decoder
- java.lang.Object
-
- java.lang.Enum<HWDecoderUtil.Decoder>
-
- org.videolan.libvlc.util.HWDecoderUtil.Decoder
-
- All Implemented Interfaces:
Serializable
,Comparable<HWDecoderUtil.Decoder>
- Enclosing class:
- HWDecoderUtil
public static enum HWDecoderUtil.Decoder extends Enum<HWDecoderUtil.Decoder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
MEDIACODEC
NONE
OMX
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HWDecoderUtil.Decoder
valueOf(String name)
Returns the enum constant of this type with the specified name.static HWDecoderUtil.Decoder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final HWDecoderUtil.Decoder UNKNOWN
-
NONE
public static final HWDecoderUtil.Decoder NONE
-
OMX
public static final HWDecoderUtil.Decoder OMX
-
MEDIACODEC
public static final HWDecoderUtil.Decoder MEDIACODEC
-
ALL
public static final HWDecoderUtil.Decoder ALL
-
-
Method Detail
-
values
public static HWDecoderUtil.Decoder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HWDecoderUtil.Decoder c : HWDecoderUtil.Decoder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HWDecoderUtil.Decoder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-