Asset

A portion of the data received from the ad server and decoded by the SDK that is associated with advertising assets.

Constructors

Link copied to clipboard

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

Types

Link copied to clipboard
data class Img(val url: String, val ext: AdResponse.Body.Asset.Img.ImgExt? = null) : Parcelable

A portion of the data received from the ad server and decoded by the SDK that is associated with asset image information.

Link copied to clipboard
data class LinkX(val url: String) : Parcelable

A portion of the data received from the ad server and decoded by the SDK that is associated with asset link information.

Properties

Link copied to clipboard
val id: String

An unique identifier of the asset.

Link copied to clipboard

An Img instance, that contain asset image information.

Link copied to clipboard

An LinkX instance, that contain asset link information.

Functions

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