public enum DisplayAdFormatSetting extends Enum<DisplayAdFormatSetting>
Java class for DisplayAdFormatSetting.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DisplayAdFormatSetting">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="ALL_FORMATS"/>
<enumeration value="NON_NATIVE"/>
<enumeration value="NATIVE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL_FORMATS
Text, image and native formats
|
NATIVE
Native format
|
NON_NATIVE
Text and image formats
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static DisplayAdFormatSetting |
fromValue(String v) |
String |
value() |
static DisplayAdFormatSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayAdFormatSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayAdFormatSetting UNKNOWN
public static final DisplayAdFormatSetting ALL_FORMATS
public static final DisplayAdFormatSetting NON_NATIVE
public static final DisplayAdFormatSetting NATIVE
public static DisplayAdFormatSetting[] values()
for (DisplayAdFormatSetting c : DisplayAdFormatSetting.values()) System.out.println(c);
public static DisplayAdFormatSetting 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 DisplayAdFormatSetting fromValue(String v)
Copyright © 2023. All rights reserved.