public enum CreativePersistenceType extends Enum<CreativePersistenceType>
Java class for CreativePersistenceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CreativePersistenceType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NOT_PERSISTENT"/>
<enumeration value="PERSISTENT_AND_EXCLUDE_NONE"/>
<enumeration value="PERSISTENT_AND_EXCLUDE_DISPLAY"/>
<enumeration value="PERSISTENT_AND_EXCLUDE_VIDEO"/>
<enumeration value="PERSISTENT_AND_EXCLUDE_ALL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NOT_PERSISTENT
Not persistent or exclusive.
|
PERSISTENT_AND_EXCLUDE_ALL
Persistent and excludes all other ads.
|
PERSISTENT_AND_EXCLUDE_DISPLAY
Persistent and excludes display ads only.
|
PERSISTENT_AND_EXCLUDE_NONE
Persistent and does not exclude ads.
|
PERSISTENT_AND_EXCLUDE_VIDEO
Persistent and excludes video ads only.
|
| Modifier and Type | Method and Description |
|---|---|
static CreativePersistenceType |
fromValue(String v) |
String |
value() |
static CreativePersistenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreativePersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreativePersistenceType NOT_PERSISTENT
public static final CreativePersistenceType PERSISTENT_AND_EXCLUDE_NONE
public static final CreativePersistenceType PERSISTENT_AND_EXCLUDE_DISPLAY
public static final CreativePersistenceType PERSISTENT_AND_EXCLUDE_VIDEO
public static final CreativePersistenceType PERSISTENT_AND_EXCLUDE_ALL
public static CreativePersistenceType[] values()
for (CreativePersistenceType c : CreativePersistenceType.values()) System.out.println(c);
public static CreativePersistenceType 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 CreativePersistenceType fromValue(String v)
Copyright © 2018. All Rights Reserved.