Package com.brightcove.ssai.omid
Enum AdEventType
- java.lang.Object
-
- java.lang.Enum<AdEventType>
-
- com.brightcove.ssai.omid.AdEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AdEventType>
public enum AdEventType extends java.lang.Enum<AdEventType>
Enum class containing the 'AdEventType' as defined by OMID's validation script.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_USER_INTERACTION
BUFFER_FINISH
BUFFER_START
COMPLETE
FIRST_QUARTILE
IMPRESSION
LOADED
MIDPOINT
PAUSE
PLAYER_STATE_CHANGE
RESUME
SKIPPED
START
THIRD_QUARTILE
VOLUME_CHANGE
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
key
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AdEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPRESSION
public static final AdEventType IMPRESSION
-
LOADED
public static final AdEventType LOADED
-
START
public static final AdEventType START
-
FIRST_QUARTILE
public static final AdEventType FIRST_QUARTILE
-
MIDPOINT
public static final AdEventType MIDPOINT
-
THIRD_QUARTILE
public static final AdEventType THIRD_QUARTILE
-
COMPLETE
public static final AdEventType COMPLETE
-
PAUSE
public static final AdEventType PAUSE
-
RESUME
public static final AdEventType RESUME
-
BUFFER_START
public static final AdEventType BUFFER_START
-
BUFFER_FINISH
public static final AdEventType BUFFER_FINISH
-
SKIPPED
public static final AdEventType SKIPPED
-
VOLUME_CHANGE
public static final AdEventType VOLUME_CHANGE
-
PLAYER_STATE_CHANGE
public static final AdEventType PLAYER_STATE_CHANGE
-
AD_USER_INTERACTION
public static final AdEventType AD_USER_INTERACTION
-
-
Method Detail
-
values
public static AdEventType[] 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 (AdEventType c : AdEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdEventType 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
-
-