public static enum PlaylistInfo.PlaylistType extends Enum<PlaylistInfo.PlaylistType>
NORMAL
is
for non-mixes, while other values are for the different types of mixes. The type of a mix
depends on how its contents are autogenerated.Enum Constant and Description |
---|
MIX_CHANNEL
A mix made only of streams from (or related to) the same channel, for example YouTube
channel mixes
|
MIX_GENRE
A mix made only of streams related to a particular (musical) genre, for example YouTube
genre mixes
|
MIX_MUSIC
A mix made only of music streams related to a particular stream, for example YouTube
music mixes
|
MIX_STREAM
A mix made only of streams related to a particular stream, for example YouTube mixes
|
NORMAL
A normal playlist (not a mix)
|
Modifier and Type | Method and Description |
---|---|
static PlaylistInfo.PlaylistType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlaylistInfo.PlaylistType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaylistInfo.PlaylistType NORMAL
public static final PlaylistInfo.PlaylistType MIX_STREAM
public static final PlaylistInfo.PlaylistType MIX_MUSIC
public static final PlaylistInfo.PlaylistType MIX_CHANNEL
public static final PlaylistInfo.PlaylistType MIX_GENRE
public static PlaylistInfo.PlaylistType[] values()
for (PlaylistInfo.PlaylistType c : PlaylistInfo.PlaylistType.values()) System.out.println(c);
public static PlaylistInfo.PlaylistType 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 null