public enum MediaType extends java.lang.Enum<MediaType> implements IZITravelEnumeration
| Enum Constant and Description |
|---|
BrandCover
Cover image of the publisher.
|
BrandLogo
Logo image of the publisher.
|
City
Image of the city.
|
Featured
Image of the featured content.
|
Map
Image of the museum map.
|
SponsorLogo
Logo image of the sponsor.
|
Story
Media of museum, exhibit, tour, tourist_attraction, story_navigation and collection.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
fromValue(java.lang.String value) |
java.lang.String |
toString() |
static MediaType |
valueOf(java.lang.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 Story
public static final MediaType Map
public static final MediaType BrandLogo
public static final MediaType BrandCover
public static final MediaType City
public static final MediaType SponsorLogo
public static final MediaType Featured
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<MediaType>public static MediaType fromValue(java.lang.String value)