public enum IgnoredMessageCode extends java.lang.Enum<IgnoredMessageCode>
Enum Constant and Description |
---|
ARTIST_IGNORED |
DAILY_SCROBBLE_LIMIT_EXCEEDED |
TIMESTAMP_TOO_NEW |
TIMESTAMP_TOO_OLD |
TRACK_IGNORED |
Modifier and Type | Method and Description |
---|---|
static IgnoredMessageCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IgnoredMessageCode |
valueOfCode(int code)
Gets the IgnoredMessage enum value for the passed Last.fm error code.
|
static IgnoredMessageCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgnoredMessageCode ARTIST_IGNORED
public static final IgnoredMessageCode TRACK_IGNORED
public static final IgnoredMessageCode TIMESTAMP_TOO_OLD
public static final IgnoredMessageCode TIMESTAMP_TOO_NEW
public static final IgnoredMessageCode DAILY_SCROBBLE_LIMIT_EXCEEDED
public static IgnoredMessageCode[] values()
for (IgnoredMessageCode c : IgnoredMessageCode.values()) System.out.println(c);
public static IgnoredMessageCode 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 IgnoredMessageCode valueOfCode(int code)
code
- The Last.fm error code.