VastAdExtension

com.bitmovin.player.api.advertising.vast

VastAdExtension

data class VastAdExtension(val name: String, val value: String?, val attributes: Map<String, String>, val children: List<VastAdExtension>)

Describes a VAST Extension node.

A VAST Extension is custom XML under

See IAB VAST 4.3, section 3.18: https://iabtechlab.com/wp-content/uploads/2022/09/VAST_4.3.pdf

Constructors

VastAdExtensionconstructor(name: String, value: String?, attributes: Map<String, String>, children: List<VastAdExtension>)

Properties

NameSummary
attributesval attributes: Map<String, String>
XML attributes for this extension.
childrenval children: List<VastAdExtension>
The XML child elements.
nameval name: String
Name of this extension, as defined in the manifest.
valueval value: String?
The parsed direct text and CDATA content of the XML element, or null if absent.