public static enum PlaylistProxy.TrackSelector extends java.lang.Enum<PlaylistProxy.TrackSelector>
Enum Constant and Description |
---|
TRACK_ANY
Any media track of the correct type.
|
TRACK_BY_ID
Specific track selected by the track ID.
|
TRACK_BY_INDEX
Specific track selected by the track index (0 based among all
tracks).
|
Modifier and Type | Method and Description |
---|---|
static PlaylistProxy.TrackSelector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlaylistProxy.TrackSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaylistProxy.TrackSelector TRACK_ANY
public static final PlaylistProxy.TrackSelector TRACK_BY_ID
public static final PlaylistProxy.TrackSelector TRACK_BY_INDEX
public static PlaylistProxy.TrackSelector[] values()
for (PlaylistProxy.TrackSelector c : PlaylistProxy.TrackSelector.values()) System.out.println(c);
public static PlaylistProxy.TrackSelector 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 null