Enum Class APSMediaBuilder.APSResolvMultipleAdsConflictsBy
java.lang.Object
java.lang.Enum<APSMediaBuilder.APSResolvMultipleAdsConflictsBy>
com.appscend.media.APSMediaBuilder.APSResolvMultipleAdsConflictsBy
- All Implemented Interfaces:
Serializable, Comparable<APSMediaBuilder.APSResolvMultipleAdsConflictsBy>, Constable
- Enclosing class:
APSMediaBuilder
public static enum APSMediaBuilder.APSResolvMultipleAdsConflictsBy
extends Enum<APSMediaBuilder.APSResolvMultipleAdsConflictsBy>
The VMAP standard permits allowing only one ad from a certain ad source. This constant defines how the VAST builder plugin deals with situations when multiple valid ads are retrieved from a source that is disallowed to load several ads at one time.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSolve the issue by dropping all loaded ads.Solve the issue by only inserting the first valid ad retrieved, honoring the defined order in the VAST.Solve the issue by only inserting one random ad from the loaded batch. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APSResolvMultipleAdsConflictsByDropping
public static final APSMediaBuilder.APSResolvMultipleAdsConflictsBy APSResolvMultipleAdsConflictsByDroppingSolve the issue by dropping all loaded ads. -
APSResolvMultipleAdsConflictsBySelectingFirst
public static final APSMediaBuilder.APSResolvMultipleAdsConflictsBy APSResolvMultipleAdsConflictsBySelectingFirstSolve the issue by only inserting the first valid ad retrieved, honoring the defined order in the VAST. -
APSResolvMultipleAdsConflictsBySelectingRandom
public static final APSMediaBuilder.APSResolvMultipleAdsConflictsBy APSResolvMultipleAdsConflictsBySelectingRandomSolve the issue by only inserting one random ad from the loaded batch.
-
-
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
-