public enum Entity extends Enum<Entity>
The type of results you want returned, relative to the specified media type.
For example: movieArtist
for a movie media type search.
iTunes default is the track entity associated with the specified media type.
Enum Constant and Description |
---|
ALBUM |
ALL_ARTIST |
ALL_TRACK |
AUDIOBOOK |
AUDIOBOOK_AUTHOR |
EBOOK |
IPAD_SOFTWARE |
MAC_SOFTWARE |
MIX |
MOVIE |
MOVIE_ARTIST |
MUSIC_ARTIST |
MUSIC_TRACK |
MUSIC_VIDEO |
PODCAST |
PODCAST_AUTHOR |
SHORT_FILM |
SHORT_FILM_ARTIST |
SOFTWARE |
SONG |
TV_EPISODE |
TV_SEASON |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Entity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entity ALBUM
public static final Entity ALL_ARTIST
public static final Entity ALL_TRACK
public static final Entity AUDIOBOOK
public static final Entity AUDIOBOOK_AUTHOR
public static final Entity EBOOK
public static final Entity IPAD_SOFTWARE
public static final Entity MAC_SOFTWARE
public static final Entity MIX
public static final Entity MOVIE
public static final Entity MOVIE_ARTIST
public static final Entity MUSIC_ARTIST
public static final Entity MUSIC_TRACK
public static final Entity MUSIC_VIDEO
public static final Entity PODCAST
public static final Entity PODCAST_AUTHOR
public static final Entity SHORT_FILM
public static final Entity SHORT_FILM_ARTIST
public static final Entity SOFTWARE
public static final Entity SONG
public static final Entity TV_EPISODE
public static final Entity TV_SEASON
public static Entity[] values()
for (Entity c : Entity.values()) System.out.println(c);
public static Entity 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 String getName()
Copyright © 2018. All rights reserved.