AdEvent

An event representing a lifecycle event of an ad managed by Nimbus

Entries

Link copied to clipboard

The ad has been loaded and all associated views are attached to the screen

Link copied to clipboard

The ad has satisfied the conditions to register an impression

Link copied to clipboard

The ad has been clicked

Link copied to clipboard

The ad is paused; any media assets will have paused playback

Link copied to clipboard

The ad is resumed; any media assets will have started playback

Link copied to clipboard

A video ad has played 25% of its content; this event does not fire for static ads

Link copied to clipboard

A video ad has played 50% of its content; this event does not fire for static ads

Link copied to clipboard

A video ad has played 75% of its content; this event does not fire for static ads

Link copied to clipboard

The ad has completed its playback; this event can fire for static ads if a timeout has been configured

Link copied to clipboard

The ad has been skipped; this event will only fire for rewarded ads

Link copied to clipboard

The ad has been destroyed; all resources will have been removed from the view hierarchy and disposed of

Link copied to clipboard

The ad volume has changed; currently only applies to video ads

Types

Link copied to clipboard
fun interface Listener

Listener for ad events

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): AdEvent

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.