Enum MediaTailorAdEventType
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.EventType
,java.io.Serializable
,kotlin.Comparable
public enum MediaTailorAdEventType extends Enum<MediaTailorAdEventType> implements EventType<MediaTailorAdEvent>
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<MediaTailorAdEventType>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_BEGIN
Fired when an ad has begun.
AD_FIRST_QUARTILE
Fired when the ad has completed playing the first quartile (25%).
AD_MIDPOINT
Fired when the ad has completed playing the first half (50%).
AD_THIRD_QUARTILE
Fired when the ad has completed playing the third quarter (75%).
AD_END
Fired when an ad ends.
AD_CLICK_THROUGH
The URI for the advertiser's home page or campaign landing page.
AD_CLICK_TRACKING
The tracking URL for the AD_CLICK_THROUG property
-
Method Summary
Modifier and Type Method Description String
getName()
Function to get the name (textual representation) of a MediaTailor ad related event. final MediaTailorAdEventType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<MediaTailorAdEventType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<MediaTailorAdEventType>
getEntries()
-
-
Method Detail
-
getName
String getName()
Function to get the name (textual representation) of a MediaTailor ad related event.
- Returns:
The name of the event (NonNull).
-
valueOf
final MediaTailorAdEventType valueOf(String value)
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.)
-
values
final Array<MediaTailorAdEventType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<MediaTailorAdEventType> getEntries()
-
-
-
-