Options

data class Options(val body: String? = null, val closeAfter: UInt? = null, val closeButtonAfter: UInt? = null, val countdownColor: String? = null) : Parcelable

A portion of the data received from the ad server and decoded by the SDK that is associated with additional options related to the advertisement.

Constructors

Link copied to clipboard
constructor(body: String? = null, closeAfter: UInt? = null, closeButtonAfter: UInt? = null, countdownColor: String? = null)

Creates an Options instance. You can use this constructor for testing. Normally you do not need to use it.

Properties

Link copied to clipboard
val body: String? = null

The HTML body for the advertisement.

Link copied to clipboard
val closeAfter: UInt? = null

The time after which the interstitial advertisement will be closed automatically.

Link copied to clipboard
val closeButtonAfter: UInt? = null

The time after which the close button will be shown.

Link copied to clipboard
val countdownColor: String? = null

The color of the countdown timer for the interstitial advertisement.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)