com.dt.iTunesController
Enum ITPlaylistKind
java.lang.Object
java.lang.Enum<ITPlaylistKind>
com.dt.iTunesController.ITPlaylistKind
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ITPlaylistKind>
public enum ITPlaylistKind
- extends java.lang.Enum<ITPlaylistKind>
Specifies the playlist kind.
|
Method Summary |
static ITPlaylistKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ITPlaylistKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ITPlaylistKindUnknown
public static final ITPlaylistKind ITPlaylistKindUnknown
ITPlaylistKindLibrary
public static final ITPlaylistKind ITPlaylistKindLibrary
ITPlaylistKindUser
public static final ITPlaylistKind ITPlaylistKindUser
ITPlaylistKindCD
public static final ITPlaylistKind ITPlaylistKindCD
ITPlaylistKindDevice
public static final ITPlaylistKind ITPlaylistKindDevice
ITPlaylistKindRadioTuner
public static final ITPlaylistKind ITPlaylistKindRadioTuner
values
public static ITPlaylistKind[] 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 (ITPlaylistKind c : ITPlaylistKind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ITPlaylistKind valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null