public enum TrackStatus extends java.lang.Enum<TrackStatus>
| Enum Constant and Description |
|---|
ABSENT
Track was absent in the source.
|
COMPRESSING
We are compressing the track in the output.
|
PASS_THROUGH
We are not touching the track.
|
REMOVING
We are removing the track in the output.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTranscoding()
This is used to understand whether we should select this track
in MediaExtractor, and add this track to MediaMuxer.
|
static TrackStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrackStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackStatus ABSENT
public static final TrackStatus REMOVING
public static final TrackStatus PASS_THROUGH
public static final TrackStatus COMPRESSING
public static TrackStatus[] values()
for (TrackStatus c : TrackStatus.values()) System.out.println(c);
public static TrackStatus 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 boolean isTranscoding()