public enum SpotifyEntityType extends Enum<SpotifyEntityType>
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static SpotifyEntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpotifyEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpotifyEntityType ALBUM
public static final SpotifyEntityType TRACK
public static final SpotifyEntityType ARTIST
public static final SpotifyEntityType USER
public static final SpotifyEntityType PLAYLIST
public final String type
public static SpotifyEntityType[] values()
for (SpotifyEntityType c : SpotifyEntityType.values()) System.out.println(c);
public static SpotifyEntityType 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 nullpublic String getType()
Copyright © 2015. All rights reserved.