public enum AdType extends Enum<AdType>
Java class for AdType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Text"/>
<enumeration value="Image"/>
<enumeration value="Product"/>
<enumeration value="AppInstall"/>
<enumeration value="ExpandedText"/>
<enumeration value="DynamicSearch"/>
<enumeration value="ResponsiveAd"/>
<enumeration value="ResponsiveSearch"/>
<enumeration value="Hotel"/>
</restriction>
</simpleType>
Enum Constant and Description |
---|
APP_INSTALL |
DYNAMIC_SEARCH |
EXPANDED_TEXT |
HOTEL |
IMAGE |
PRODUCT |
RESPONSIVE_AD |
RESPONSIVE_SEARCH |
TEXT |
Modifier and Type | Method and Description |
---|---|
static AdType |
fromValue(String v) |
String |
value() |
static AdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdType TEXT
public static final AdType IMAGE
public static final AdType PRODUCT
public static final AdType APP_INSTALL
public static final AdType EXPANDED_TEXT
public static final AdType DYNAMIC_SEARCH
public static final AdType RESPONSIVE_AD
public static final AdType RESPONSIVE_SEARCH
public static final AdType HOTEL
public static AdType[] values()
for (AdType c : AdType.values()) System.out.println(c);
public static AdType 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()
Copyright © 2024. All rights reserved.