public static enum Track.Encoding extends Enum<Track.Encoding>
Enum Constant and Description |
---|
AAC |
CUSTOM |
H264 |
MPEG1AUDIO |
MPEG1LAYER3 |
NONE |
PCM |
VP6 |
Modifier and Type | Method and Description |
---|---|
static Track.Encoding |
toEncoding(int ordinal) |
static Track.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Track.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Track.Encoding NONE
public static final Track.Encoding PCM
public static final Track.Encoding MPEG1AUDIO
public static final Track.Encoding MPEG1LAYER3
public static final Track.Encoding AAC
public static final Track.Encoding H264
public static final Track.Encoding VP6
public static final Track.Encoding CUSTOM
public static Track.Encoding[] values()
for (Track.Encoding c : Track.Encoding.values()) System.out.println(c);
public static Track.Encoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Track.Encoding toEncoding(int ordinal)
Copyright © 2020. All rights reserved.