AdError

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

Emitted when an error with the ad playback occurs.

Constructors

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

Properties

adConfig
Link copied to clipboard
val adConfig: AdConfig? = null
The AdConfig for which an ad error occurred.
adItem
Link copied to clipboard
val adItem: AdItem?
code
Link copied to clipboard
val code: Int
The error code used to identify the error.
message
Link copied to clipboard
val message: String?
The error message to explain the reason for the error.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.