com.yandex.mobile.ads.instream
Enum InstreamAdBreakPosition.Type
java.lang.Object
java.lang.Enum<InstreamAdBreakPosition.Type>
com.yandex.mobile.ads.instream.InstreamAdBreakPosition.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<InstreamAdBreakPosition.Type>
- Enclosing class:
- InstreamAdBreakPosition
public static enum InstreamAdBreakPosition.Type extends java.lang.Enum<InstreamAdBreakPosition.Type>
Тип величины смещения рекламной вставки относительно начала основного видео.
Method Summary
Modifier and Type | Method and Description |
---|---|
static InstreamAdBreakPosition.Type | valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstreamAdBreakPosition.Type[] | values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Enum Constant Detail
PERCENTS
public static final InstreamAdBreakPosition.Type PERCENTS
MILLISECONDS
public static final InstreamAdBreakPosition.Type MILLISECONDS
POSITION
public static final InstreamAdBreakPosition.Type POSITION
Method Detail
values
public static InstreamAdBreakPosition.Type[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InstreamAdBreakPosition.Type c : InstreamAdBreakPosition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static InstreamAdBreakPosition.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null