SessionUiEvent

The session UI event types.

Entries

Link copied to clipboard

The ad presentation has started. A {@link SessionUiEventData} object (with adObject, adElapsedTime and adCountdown in it) is passed to the event listener.

Link copied to clipboard

The ad presentation has ended. A {@link SessionUiEventData} object (with adObject in it) is passed to the event listener.

Link copied to clipboard

The ad presentation has made some progress. A {@link SessionUiEventData} object (with adObject, adElapsedTime and adCountdown in it) is passed to the event listener.

Link copied to clipboard

A user click over the ad has been detected. A {@link SessionUiEventData} object (with adObject and an optional adClickthroughUrl in it) is passed to the event listener.

Link copied to clipboard

The user now has the option to skip the ad. A {@link SessionUiEventData} object (with adObject in it) is passed to the event listener.

Link copied to clipboard

An incoming ad is within the {@link SessionConfiguration#incomingAdCountdownInterval} from the current playhead position. A {@link SessionUiEventData} object (with timeToNextAd in it) is passed to the event listener.

Link copied to clipboard

The nonlinear ad has started. A {@link SessionUiEventData} object (with nonLinearAdsObject and adElapsedTime in it) is passed to the event listener.

Link copied to clipboard

The nonlinear ad has ended. A {@link SessionUiEventData} object (with nonLinearAdsObject in it) is passed to the event listener.

Link copied to clipboard

The processing of an ad tracking info response was finished. A {@link SessionUiEventData} object (with failedAdTrackingInfoRequest set to true or false) is passed to the event listener.

Properties

Link copied to clipboard
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
val key: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.