public static enum VideoAdUnit.PlacementType extends java.lang.Enum<VideoAdUnit.PlacementType>
| Enum Constant and Description |
|---|
IN_ARTICLE |
IN_BANNER |
IN_FEED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static VideoAdUnit.PlacementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoAdUnit.PlacementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoAdUnit.PlacementType IN_BANNER
public static final VideoAdUnit.PlacementType IN_ARTICLE
public static final VideoAdUnit.PlacementType IN_FEED
public static VideoAdUnit.PlacementType[] values()
for (VideoAdUnit.PlacementType c : VideoAdUnit.PlacementType.values()) System.out.println(c);
public static VideoAdUnit.PlacementType 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 nullpublic int getValue()