public static enum SpotifyUri.ResourceType extends java.lang.Enum<SpotifyUri.ResourceType>
| Modifier and Type | Method and Description |
|---|---|
static SpotifyUri.ResourceType |
from(java.lang.String raw) |
java.lang.String |
toString() |
static SpotifyUri.ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpotifyUri.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpotifyUri.ResourceType ALBUM
public static final SpotifyUri.ResourceType ARTIST
public static final SpotifyUri.ResourceType TRACK
public static final SpotifyUri.ResourceType PLAYLIST
public static SpotifyUri.ResourceType[] values()
for (SpotifyUri.ResourceType c : SpotifyUri.ResourceType.values()) System.out.println(c);
public static SpotifyUri.ResourceType 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 SpotifyUri.ResourceType from(java.lang.String raw)
public java.lang.String toString()
toString in class java.lang.Enum<SpotifyUri.ResourceType>