public enum MediaMediaType extends Enum<MediaMediaType>
Java class for Media.MediaType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Media.MediaType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AUDIO"/>
<enumeration value="DYNAMIC_IMAGE"/>
<enumeration value="ICON"/>
<enumeration value="IMAGE"/>
<enumeration value="STANDARD_ICON"/>
<enumeration value="VIDEO"/>
<enumeration value="MEDIA_BUNDLE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AUDIO
Audio file.
|
DYNAMIC_IMAGE
Animated image, such as animated GIF.
|
ICON
Small image; used for map ad.
|
IMAGE
Static image; for image ad.
|
MEDIA_BUNDLE
ZIP file; used in fields of template ads.
|
STANDARD_ICON
Predefined standard icon; used for map ads.
|
VIDEO
Video file.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaMediaType |
fromValue(String v) |
String |
value() |
static MediaMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaMediaType AUDIO
public static final MediaMediaType DYNAMIC_IMAGE
public static final MediaMediaType ICON
public static final MediaMediaType IMAGE
public static final MediaMediaType STANDARD_ICON
public static final MediaMediaType VIDEO
public static final MediaMediaType MEDIA_BUNDLE
public static MediaMediaType[] values()
for (MediaMediaType c : MediaMediaType.values()) System.out.println(c);
public static MediaMediaType 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 value()
public static MediaMediaType fromValue(String v)
Copyright © 2023. All rights reserved.