public enum VastErrorCode extends java.lang.Enum<VastErrorCode>
Enum Constant and Description |
---|
GENERAL_COMPANION_AD_ERROR
For any reason the companion ad failed to download or show.
|
GENERAL_LINEAR_AD_ERROR
For any reason the linear video ad failed to download or play (or for errors during
playback).
|
NO_ADS_VAST_RESPONSE
When receiving a no ads VAST response after one or more Wrappers.
|
UNDEFINED_ERROR
Any other error, or an unexpected error.
|
WRAPPER_TIMEOUT
When following a wrapper redirect and the URI was either unavailable or reached a timeout
as defined by the video player.
|
XML_PARSING_ERROR
For any type of XML issue in the VAST document.
|
Modifier and Type | Method and Description |
---|---|
static VastErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VastErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VastErrorCode XML_PARSING_ERROR
public static final VastErrorCode WRAPPER_TIMEOUT
public static final VastErrorCode NO_ADS_VAST_RESPONSE
public static final VastErrorCode GENERAL_LINEAR_AD_ERROR
public static final VastErrorCode GENERAL_COMPANION_AD_ERROR
public static final VastErrorCode UNDEFINED_ERROR
public static VastErrorCode[] values()
for (VastErrorCode c : VastErrorCode.values()) System.out.println(c);
public static VastErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null