public enum PlaylistType extends java.lang.Enum<PlaylistType>
Enum Constant and Description |
---|
GALLERY
Multimedia playlist
|
IMAGE
Slideshow playlist
|
TEMPLATE
Template playlist
|
TICKER
Marquee playlist
|
Modifier and Type | Method and Description |
---|---|
static PlaylistType |
fromString(java.lang.String x)
From string.
|
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 GALLERY
public static final PlaylistType IMAGE
public static final PlaylistType TICKER
public static final PlaylistType TEMPLATE
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 static PlaylistType fromString(java.lang.String x)
x
- the string value of the playlist