InterstitialMappingData
sealed interface InterstitialMappingData
Interface providing access to custom attributes from interstitial metadata.
Custom attributes can come from:
X-prefixed properties in HLS manifestEXT-X-DATERANGEtags in Interstitial- custom attributes from an ASSET-LIST in AssetList
- custom attributes from the asset metadata within an ASSET-LIST in Asset
See InterstitialsConfig.customAttributesMapping for usage.
Inheritors
| Interstitial |
| AssetList |
| Asset |
Types
| Name | Summary |
|---|---|
| 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. |
| AssetList | data class AssetList(val customAttributes: Map<String, String>) : InterstitialMappingData Provides access to asset list-level metadata and custom attributes. Contains information from the JSON Asset List file that defines a collection of interstitial assets. |
| Interstitial | data class Interstitial(val id: String, val customAttributes: Map<String, String>) : InterstitialMappingData Provides access to interstitial-level metadata and custom attributes. |