Package com.tagtraum.audiokern
Enum AudioSong.CloudStatus
- java.lang.Object
-
- java.lang.Enum<AudioSong.CloudStatus>
-
- com.tagtraum.audiokern.AudioSong.CloudStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AudioSong.CloudStatus>
- Enclosing interface:
- AudioSong
public static enum AudioSong.CloudStatus extends Enum<AudioSong.CloudStatus>
Cloud status (taken from iTunes AppleScript interface).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE
ERROR
INELIGIBLE
MATCHED
NO_LONGER_AVAILABLE
NOT_UPLOADED
PURCHASED
REMOVED
SUBSCRIPTION
UNKNOWN
UPLOADED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudioSong.CloudStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AudioSong.CloudStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AudioSong.CloudStatus UNKNOWN
-
PURCHASED
public static final AudioSong.CloudStatus PURCHASED
-
MATCHED
public static final AudioSong.CloudStatus MATCHED
-
UPLOADED
public static final AudioSong.CloudStatus UPLOADED
-
INELIGIBLE
public static final AudioSong.CloudStatus INELIGIBLE
-
REMOVED
public static final AudioSong.CloudStatus REMOVED
-
ERROR
public static final AudioSong.CloudStatus ERROR
-
DUPLICATE
public static final AudioSong.CloudStatus DUPLICATE
-
SUBSCRIPTION
public static final AudioSong.CloudStatus SUBSCRIPTION
-
NO_LONGER_AVAILABLE
public static final AudioSong.CloudStatus NO_LONGER_AVAILABLE
-
NOT_UPLOADED
public static final AudioSong.CloudStatus NOT_UPLOADED
-
-
Method Detail
-
values
public static AudioSong.CloudStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AudioSong.CloudStatus c : AudioSong.CloudStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioSong.CloudStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-