Enum MatroskaFileTrack.Type
- java.lang.Object
-
- java.lang.Enum<MatroskaFileTrack.Type>
-
- com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileTrack.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatroskaFileTrack.Type>
- Enclosing class:
- MatroskaFileTrack
public static enum MatroskaFileTrack.Type extends java.lang.Enum<MatroskaFileTrack.Type>
Track type list.
-
-
Field Summary
Fields Modifier and Type Field Description longidID which is used in the track type field in the file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatroskaFileTrack.TypefromId(long id)static MatroskaFileTrack.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatroskaFileTrack.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIDEO
public static final MatroskaFileTrack.Type VIDEO
-
AUDIO
public static final MatroskaFileTrack.Type AUDIO
-
COMPLEX
public static final MatroskaFileTrack.Type COMPLEX
-
LOGO
public static final MatroskaFileTrack.Type LOGO
-
SUBTITLE
public static final MatroskaFileTrack.Type SUBTITLE
-
BUTTONS
public static final MatroskaFileTrack.Type BUTTONS
-
CONTROL
public static final MatroskaFileTrack.Type CONTROL
-
-
Method Detail
-
values
public static MatroskaFileTrack.Type[] 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 (MatroskaFileTrack.Type c : MatroskaFileTrack.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatroskaFileTrack.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromId
public static MatroskaFileTrack.Type fromId(long id)
- Parameters:
id- ID to look up.- Returns:
- Track type for that ID, null if not found.
-
-