public enum MusicPlaybackState extends java.lang.Enum<MusicPlaybackState>
| Modifier and Type | Method and Description |
|---|---|
static MusicPlaybackState |
fromName(java.lang.String name) |
java.lang.String |
getName() |
static MusicPlaybackState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MusicPlaybackState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MusicPlaybackState LOCAL
public static final MusicPlaybackState ONLINE
public static final MusicPlaybackState NOT_FOUND
public static final MusicPlaybackState PENDING
public static MusicPlaybackState[] values()
for (MusicPlaybackState c : MusicPlaybackState.values()) System.out.println(c);
public static MusicPlaybackState 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 MusicPlaybackState fromName(java.lang.String name)
public java.lang.String getName()