public static enum PlayList.Kind extends Enum<PlayList.Kind>
Enum Constant and Description |
---|
APPS |
AUDIOBOOKS |
AUDIOBOOKS2 |
BOOKS |
BOOKS2 |
GENIUS |
HOME_VIDEOS |
I_TUNES_U |
MOVIES |
MUSIC |
MUSIC_VIDEOS |
PDFS |
PODCASTS |
PURCHASED |
RENTALS |
TONES |
TV_SHOWS |
VOICE_MEMOS |
Modifier and Type | Method and Description |
---|---|
static PlayList.Kind |
get(int id)
Get a
PlayList.Kind for an integer identifier. |
int |
getId()
iTunes Library.xml distinguished kind identifier. |
static PlayList.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayList.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayList.Kind MOVIES
public static final PlayList.Kind TV_SHOWS
public static final PlayList.Kind MUSIC
public static final PlayList.Kind AUDIOBOOKS
public static final PlayList.Kind TONES
public static final PlayList.Kind RENTALS
public static final PlayList.Kind PODCASTS
public static final PlayList.Kind VOICE_MEMOS
public static final PlayList.Kind APPS
public static final PlayList.Kind PURCHASED
public static final PlayList.Kind GENIUS
public static final PlayList.Kind I_TUNES_U
public static final PlayList.Kind MUSIC_VIDEOS
public static final PlayList.Kind HOME_VIDEOS
public static final PlayList.Kind BOOKS
public static final PlayList.Kind BOOKS2
public static final PlayList.Kind AUDIOBOOKS2
public static final PlayList.Kind PDFS
public static PlayList.Kind[] values()
for (PlayList.Kind c : PlayList.Kind.values()) System.out.println(c);
public static PlayList.Kind 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 nullpublic static PlayList.Kind get(int id)
PlayList.Kind
for an integer identifier.id
- integer as used in iTunes Library.xml
null
, if not identifiedpublic int getId()
iTunes Library.xml
distinguished kind identifier.iTunes Library.xml
Copyright © 2006–2017 tagtraum industries incorporated. All rights reserved.