public enum Attribute extends Enum<Attribute>
The attribute you want to search for in iTunes, relative to the specified media type.
For example, if you want to search for an artist by name specify
entity=allArtist&attribute=allArtistTerm
. In this example, if you
search for term=maroon
, iTunes returns “Maroon 5” in the search
results, instead of all artists who have ever recorded a song with the word
“maroon” in the title.
iTunes default is all attributes associated with the specified media type.
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attribute ACTOR_TERM
public static final Attribute ALBUM_TERM
public static final Attribute ALL_ARTIST_TERM
public static final Attribute ALL_TRACK_TERM
public static final Attribute ARTIST_TERM
public static final Attribute AUTHOR_TERM
public static final Attribute COMPOSER_TERM
public static final Attribute DESCRIPTION_TERM
public static final Attribute DIRECTOR_TERM
public static final Attribute FEATURE_FILM_TERM
public static final Attribute GENRE_INDEX
public static final Attribute KEYWORDS_TERM
public static final Attribute LANGUAGE_TERM
public static final Attribute MIX_TERM
public static final Attribute MOVIE_ARTIST_TERM
public static final Attribute MOVIE_TERM
public static final Attribute PRODUCER_TERM
public static final Attribute RATING_INDEX
public static final Attribute RATING_TERM
public static final Attribute RELEASE_YEAR_TERM
public static final Attribute SHORT_FILM_TERM
public static final Attribute SHOW_TERM
public static final Attribute SOFTWARE_DEVELOPER
public static final Attribute SONG_TERM
public static final Attribute TITLE_TERM
public static final Attribute TV_EPISODE_TERM
public static final Attribute TV_SEASON_TERM
public static Attribute[] values()
for (Attribute c : Attribute.values()) System.out.println(c);
public static Attribute 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.