Enum VideoAdEventType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum VideoAdEventType extends Enum<VideoAdEventType>
Types of events that can occur during ad playback.
-
-
Field Summary
Fields Modifier and Type Field Description private final EnumEntries<VideoAdEventType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description LOADEDfired when the VAST response has been received.
MEDIA_LOADEDfired when the creative's media has been loaded.
STARTEDfired when a linear or non-linear ad starts playing.
COMPLETEDfired when a linear ad completes playing.
CONTENT_PAUSE_REQUESTEDfired when content should be paused. This usually happens right before an ad is about to hide the content.
CONTENT_RESUME_REQUESTEDfired when content should be resumed. This usually happens when an ad finishes or collapses.
FIRST_QUARTILEfired when the ad playhead crosses first quartile.
MID_POINTfired when the ad playhead crosses midpoint.
THIRD_QUARTILEfired when the ad playhead crosses third quartile.
PAUSEDfired when an ad is paused.
RESUMEDfired when an ad is resumed.
SKIPPEDfired when an ad was skipped.
MUTEDfired when an ad volume has been muted.
UNMUTEDfired when an ad volume has been unmuted.
AD_CLOSE_REQUESTEDfired when ad should be closed.
AD_PROGRESSfired to inform of ad progress and can be used by publisher to display a countdown timer.
AD_CLICKEDfired when a linear or non-linear ad is clicked.
AD_CLICKED_BUT_NOT_WORKfired when an ad clicked but not worked due to empty click through url.
RESUME_CLICKEDfired when a resume button is clicked.
PAUSE_CLICKEDfired when a pause button is clicked.
REWIND_CLICKEDfired when a rewind button is clicked.
AD_BUFFERINGfired when playback stalls while the ad buffers.
SKIPPABLE_STATE_CHANGEDfired when the displayed ads skippable state is changed.
ICON_CLICKEDthe user has tapped an ad icon. On Android mobile apps, the SDK will navigate to the landing page. On Connected TV devices, the SDK will present a modal dialog containing the VAST icon fallback image.
MUTE_CLICKEDfired when the user activated the mute control and muted the creative.
UNMUTE_CLICKEDfired when the user activated the mute control and unmuted the creative.
LOGfired to enable the SDK to communicate a message to be logged, which is stored in adData. This can be fired in the event of a non-fatal playback error (for example, an ad in a pod cannot be played).
ALL_ADS_COMPLETEDfired when the ads manager is done playing all the valid ads in the ads response, or when the response doesn't return any valid ads.
-
Method Summary
Modifier and Type Method Description final VideoAdEventTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<VideoAdEventType>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<VideoAdEventType>getEntries()Types of events that can occur during ad playback. -
-
Method Detail
-
valueOf
final VideoAdEventType 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<VideoAdEventType> 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<VideoAdEventType> getEntries()
Types of events that can occur during ad playback.
-
-
-
-