public enum VideoPositionType extends Enum<VideoPositionType>
Java class for VideoPosition.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VideoPosition.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PREROLL"/>
<enumeration value="MIDROLL"/>
<enumeration value="POSTROLL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MIDROLL
The position defined as showing within the middle of the playing video.
|
POSTROLL
The position defined as showing after the video is completed.
|
PREROLL
The position defined as showing before the video starts playing.
|
| Modifier and Type | Method and Description |
|---|---|
static VideoPositionType |
fromValue(String v) |
String |
value() |
static VideoPositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoPositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoPositionType PREROLL
public static final VideoPositionType MIDROLL
public static final VideoPositionType POSTROLL
public static VideoPositionType[] values()
for (VideoPositionType c : VideoPositionType.values()) System.out.println(c);
public static VideoPositionType 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 VideoPositionType fromValue(String v)
Copyright © 2018. All Rights Reserved.