public enum AdExchangeEnvironment extends Enum<AdExchangeEnvironment>
Java class for AdExchangeEnvironment.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdExchangeEnvironment">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DISPLAY"/>
<enumeration value="VIDEO"/>
<enumeration value="GAMES"/>
<enumeration value="MOBILE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DISPLAY
Ads serve in a browser.
|
GAMES
Ads serve in a game.
|
MOBILE
Ads serve in a mobile app.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
VIDEO
Ads serve in a video.
|
| Modifier and Type | Method and Description |
|---|---|
static AdExchangeEnvironment |
fromValue(String v) |
String |
value() |
static AdExchangeEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdExchangeEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdExchangeEnvironment DISPLAY
public static final AdExchangeEnvironment VIDEO
public static final AdExchangeEnvironment GAMES
public static final AdExchangeEnvironment MOBILE
public static final AdExchangeEnvironment UNKNOWN
public static AdExchangeEnvironment[] values()
for (AdExchangeEnvironment c : AdExchangeEnvironment.values()) System.out.println(c);
public static AdExchangeEnvironment 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 AdExchangeEnvironment fromValue(String v)
Copyright © 2018. All Rights Reserved.