public enum PlaylistType extends java.lang.Enum<PlaylistType>
Enum Constant and Description |
---|
IMAGE
Playlist type image
|
IMAGE_VIDEO
Playlist type image-video
|
MUSIC
Playlist type music
|
VIDEO
Playlist type video
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static PlaylistType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlaylistType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaylistType IMAGE
public static final PlaylistType MUSIC
public static final PlaylistType VIDEO
public static final PlaylistType IMAGE_VIDEO
public static PlaylistType[] values()
for (PlaylistType c : PlaylistType.values()) System.out.println(c);
public static PlaylistType 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 java.lang.String toString()
toString
in class java.lang.Enum<PlaylistType>