public static enum AdAsset.AdType extends java.lang.Enum<AdAsset.AdType>
Enum Constant and Description |
---|
MIDROLL
Represents an ad to be played during the content by interrupting it.
|
POSTROLL
Represents an ad to be played after the content.
|
PREROLL
Represents an ad to be played before the content.
|
UNKNOWN
Used when none other option is matched.
|
Modifier and Type | Method and Description |
---|---|
static AdAsset.AdType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdAsset.AdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdAsset.AdType UNKNOWN
public static final AdAsset.AdType PREROLL
public static final AdAsset.AdType MIDROLL
public static final AdAsset.AdType POSTROLL
public static AdAsset.AdType[] values()
for (AdAsset.AdType c : AdAsset.AdType.values()) System.out.println(c);
public static AdAsset.AdType 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