public enum VastRedirectType extends Enum<VastRedirectType>
Java class for VastRedirectType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VastRedirectType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="LINEAR"/>
<enumeration value="NON_LINEAR"/>
<enumeration value="LINEAR_AND_NON_LINEAR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LINEAR
The VAST XML contains only
linear ads. |
LINEAR_AND_NON_LINEAR
The VAST XML contains both
linear and nonlinear ads. |
NON_LINEAR
The VAST XML contains only
nonlinear ads. |
| Modifier and Type | Method and Description |
|---|---|
static VastRedirectType |
fromValue(String v) |
String |
value() |
static VastRedirectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VastRedirectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VastRedirectType LINEAR
linear ads.public static final VastRedirectType NON_LINEAR
nonlinear ads.public static final VastRedirectType LINEAR_AND_NON_LINEAR
linear and nonlinear ads.public static VastRedirectType[] values()
for (VastRedirectType c : VastRedirectType.values()) System.out.println(c);
public static VastRedirectType 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 VastRedirectType fromValue(String v)
Copyright © 2018. All Rights Reserved.