public enum MediaType extends Enum<MediaType>
FeedGenerator
Enum Constant and Description |
---|
APPLE_MUSIC |
AUDIOBOOKS |
BOOKS |
IOS_APPS |
ITUNES_MUSIC |
ITUNES_U |
MACOS_APPS |
MOVIES |
MUSIC_VIDEOS |
PODCASTS |
TV_SHOWS |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
Set<FeedType> |
getCompatibleFeedTypes() |
static MediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaType APPLE_MUSIC
public static final MediaType ITUNES_MUSIC
public static final MediaType IOS_APPS
public static final MediaType MACOS_APPS
public static final MediaType AUDIOBOOKS
public static final MediaType BOOKS
public static final MediaType TV_SHOWS
public static final MediaType MOVIES
public static final MediaType ITUNES_U
public static final MediaType PODCASTS
public static final MediaType MUSIC_VIDEOS
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType 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 nullCopyright © 2018. All rights reserved.