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 /. This type exposes a simplified representation of the extension data, but does not preserve raw XML, comments, namespace URI resolution, or the original ordering between text nodes and child elements.

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

Constructors

Link copied to clipboard
constructor(name: String, value: String?, attributes: Map<String, String>, children: List<VastAdExtension>)

Properties

Link copied to clipboard

XML attributes for this extension.

Link copied to clipboard

The XML child elements.

Link copied to clipboard

Name of this extension, as defined in the manifest.

Link copied to clipboard

The parsed direct text and CDATA content of the XML element, or null if absent.