AdError

data class AdError(val adItem: AdItem?, val code: Int, val message: String?, val adConfig: AdConfig? = null) : PlayerEvent

Emitted when an error with the ad playback occurs.

Constructors

Link copied to clipboard
constructor(adItem: AdItem?, code: Int, message: String?, adConfig: AdConfig? = null)

Properties

Link copied to clipboard

The AdConfig for which an ad error occurred.

Link copied to clipboard
Link copied to clipboard
val code: Int

The error code used to identify the error.

Link copied to clipboard

The error message to explain the reason for the error.

Link copied to clipboard

The time at which the event was emitted in milliseconds since the Unix Epoch.