@Deprecated public enum Source extends Enum<Source>
Enum Constant and Description |
---|
LAST_FM
Deprecated.
Last.fm (any mode).
|
NON_PERSONALIZED_BROADCAST
Deprecated.
Non-personalised broadcast (e.g.
|
PERSONALIZED_BROADCAST
Deprecated.
Personalised recommendation except Last.fm (e.g.
|
UNKNOWN
Deprecated.
Source unknown.
|
USER
Deprecated.
Chosen by the user (the most common value, unless you have a reason for choosing otherwise, use this).
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Deprecated.
Returns the corresponding code for this source.
|
static Source |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Source[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Source USER
public static final Source NON_PERSONALIZED_BROADCAST
public static final Source PERSONALIZED_BROADCAST
public static final Source LAST_FM
public static Source[] values()
for (Source c : Source.values()) System.out.println(c);
public static Source 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 nullWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses