@Deprecated public enum Source extends java.lang.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 |
---|---|
java.lang.String |
getCode()
Deprecated.
Returns the corresponding code for this source.
|
static Source |
valueOf(java.lang.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 final Source UNKNOWN
public static Source[] values()
for (Source c : Source.values()) System.out.println(c);
public static Source 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 java.lang.String getCode()