Asset

data class Asset(val url: String, val duration: Double?, val customAttributes: Map<String, String>) : InterstitialMappingData

Provides access to asset-level metadata and custom attributes within an ASSET-LIST.

Constructors

Link copied to clipboard
constructor(url: String, duration: Double?, customAttributes: Map<String, String>)

Properties

Link copied to clipboard
open override val customAttributes: Map<String, String>

Custom attributes from the asset metadata.

Link copied to clipboard

The duration of the interstitial asset in seconds, if available.

Link copied to clipboard
val url: String

The url of the interstitial asset.