public enum PlacementContext extends java.lang.Enum<PlacementContext>
| Enum Constant and Description |
|---|
MID_ROLL
The ad is shown in-between the content
|
POST_ROLL
The ad is shown after the content
|
PRE_ROLL
The ad is shown before the content
|
STANDALONE
The ad is shown alongside the content in its own view
|
| Modifier and Type | Method and Description |
|---|---|
static PlacementContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlacementContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementContext PRE_ROLL
public static final PlacementContext MID_ROLL
public static final PlacementContext POST_ROLL
public static final PlacementContext STANDALONE
public static PlacementContext[] values()
for (PlacementContext c : PlacementContext.values()) System.out.println(c);
public static PlacementContext 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