public enum AdRuleSlotErrorReason extends Enum<AdRuleSlotErrorReason>
Java class for AdRuleSlotError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdRuleSlotError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DIFFERENT_STATUS_THAN_AD_RULE"/>
<enumeration value="INVALID_VIDEO_AD_DURATION_RANGE"/>
<enumeration value="INVALID_VIDEO_MIDROLL_FREQUENCY_TYPE"/>
<enumeration value="MALFORMED_VIDEO_MIDROLL_FREQUENCY_CSV"/>
<enumeration value="MALFORMED_VIDEO_MIDROLL_FREQUENCY_SINGLE_NUMBER"/>
<enumeration value="INVALID_OVERLAY_AD_DURATION_RANGE"/>
<enumeration value="INVALID_OVERLAY_MIDROLL_FREQUENCY_TYPE"/>
<enumeration value="MALFORMED_OVERLAY_MIDROLL_FREQUENCY_CSV"/>
<enumeration value="MALFORMED_OVERLAY_MIDROLL_FREQUENCY_SINGLE_NUMBER"/>
<enumeration value="INVALID_BUMPER_MAX_DURATION"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DIFFERENT_STATUS_THAN_AD_RULE
Has a different status than the ad rule to which it belongs.
|
INVALID_BUMPER_MAX_DURATION
Non-positive bumper duration when expecting a positive number.
|
INVALID_OVERLAY_AD_DURATION_RANGE
Min overlay ad duration is greater than max overlay ad duration.
|
INVALID_OVERLAY_MIDROLL_FREQUENCY_TYPE
Overlay mid-roll frequency type other than NONE for pre-roll or
post-roll.
|
INVALID_VIDEO_AD_DURATION_RANGE
Min video ad duration is greater than max video ad duration.
|
INVALID_VIDEO_MIDROLL_FREQUENCY_TYPE
Video mid-roll frequency type other than NONE for pre-roll or post-roll.
|
MALFORMED_OVERLAY_MIDROLL_FREQUENCY_CSV
Invalid format for overlay mid-roll frequency for list of numbers.
|
MALFORMED_OVERLAY_MIDROLL_FREQUENCY_SINGLE_NUMBER
Invalid format for overlay mid-roll frequency for a single number.
|
MALFORMED_VIDEO_MIDROLL_FREQUENCY_CSV
Invalid format for video mid-roll frequency when expecting a CSV list of
numbers.
|
MALFORMED_VIDEO_MIDROLL_FREQUENCY_SINGLE_NUMBER
Invalid format for video mid-roll frequency when expecting a single
number only, e.g., every n seconds or every n cue points.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AdRuleSlotErrorReason |
fromValue(String v) |
String |
value() |
static AdRuleSlotErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdRuleSlotErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdRuleSlotErrorReason DIFFERENT_STATUS_THAN_AD_RULE
public static final AdRuleSlotErrorReason INVALID_VIDEO_AD_DURATION_RANGE
public static final AdRuleSlotErrorReason INVALID_VIDEO_MIDROLL_FREQUENCY_TYPE
public static final AdRuleSlotErrorReason MALFORMED_VIDEO_MIDROLL_FREQUENCY_CSV
public static final AdRuleSlotErrorReason MALFORMED_VIDEO_MIDROLL_FREQUENCY_SINGLE_NUMBER
public static final AdRuleSlotErrorReason INVALID_OVERLAY_AD_DURATION_RANGE
public static final AdRuleSlotErrorReason INVALID_OVERLAY_MIDROLL_FREQUENCY_TYPE
public static final AdRuleSlotErrorReason MALFORMED_OVERLAY_MIDROLL_FREQUENCY_CSV
public static final AdRuleSlotErrorReason MALFORMED_OVERLAY_MIDROLL_FREQUENCY_SINGLE_NUMBER
public static final AdRuleSlotErrorReason INVALID_BUMPER_MAX_DURATION
public static final AdRuleSlotErrorReason UNKNOWN
public static AdRuleSlotErrorReason[] values()
for (AdRuleSlotErrorReason c : AdRuleSlotErrorReason.values()) System.out.println(c);
public static AdRuleSlotErrorReason 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 AdRuleSlotErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.