public enum AdRuleSlotBumper extends Enum<AdRuleSlotBumper>
Java class for AdRuleSlotBumper.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdRuleSlotBumper">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="BEFORE"/>
<enumeration value="AFTER"/>
<enumeration value="BEFORE_AND_AFTER"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AFTER
Show a bumper ad after the slot's other ads.
|
BEFORE
Show a bumper ad before the slot's other ads.
|
BEFORE_AND_AFTER
Show a bumper before and after the slot's other ads.
|
NONE
Do not show a bumper ad.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AdRuleSlotBumper |
fromValue(String v) |
String |
value() |
static AdRuleSlotBumper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdRuleSlotBumper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdRuleSlotBumper NONE
public static final AdRuleSlotBumper BEFORE
public static final AdRuleSlotBumper AFTER
public static final AdRuleSlotBumper BEFORE_AND_AFTER
public static final AdRuleSlotBumper UNKNOWN
public static AdRuleSlotBumper[] values()
for (AdRuleSlotBumper c : AdRuleSlotBumper.values()) System.out.println(c);
public static AdRuleSlotBumper 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 AdRuleSlotBumper fromValue(String v)
Copyright © 2018. All Rights Reserved.