public enum Media extends Enum<Media>
The media type you want to search for. For example: movie.
iTunes default is all.
Enum Constant and Description |
---|
ALL |
AUDIOBOOK |
EBOOK |
MOVIE |
MUSIC |
MUSIC_VIDEO |
PODCAST |
SHORT_FILM |
SOFTWARE |
TV_SHOW |
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
getAttributes() |
Set<Entity> |
getEntities() |
String |
getName() |
static Media |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media MOVIE
public static final Media PODCAST
public static final Media MUSIC
public static final Media MUSIC_VIDEO
public static final Media AUDIOBOOK
public static final Media SHORT_FILM
public static final Media TV_SHOW
public static final Media SOFTWARE
public static final Media EBOOK
public static final Media ALL
public static Media[] values()
for (Media c : Media.values()) System.out.println(c);
public static Media 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.