Enum Class APSVASTRootNode.APSAdPodFallback
- All Implemented Interfaces:
Serializable, Comparable<APSVASTRootNode.APSAdPodFallback>, Constable
- Enclosing class:
APSVASTRootNode
VAST 3.0 defines Ad Pods, with fallback mechanisms that allow loading an ad buffet of commercials to playback if the main ads fail. This value specifies how to treat backwards compatibility issues with VAST 2.0 and 1.0, by choosing what ads are promoted to the main Ad Pod if no valid Pods are detected.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDrop the whole ad request if no valid Ad Pods are found.Load all retrieved ads if no valid Ad Pods are found.Load only the first retrieved ad if no valid Ad Pods are found. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static APSVASTRootNode.APSAdPodFallback[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APSAdPodFallbackSelectAll
Load all retrieved ads if no valid Ad Pods are found. -
APSAdPodFallbackSelectFirst
Load only the first retrieved ad if no valid Ad Pods are found. -
APSAdPodFallbackDrop
Drop the whole ad request if no valid Ad Pods are found. This value will disable VAST 1.0 and 2.0 compatibility.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-