InterstitialTrackingRegistry

InterstitialTrackingRegistry

interface InterstitialTrackingRegistry

Registry for managing tracking events for interstitials.

Use this to register tracking URLs that should be fired when specific events occur during interstitial playback.

A single InterstitialTrackingRegistry instance exists per interstitial asset and is shared across its interstitial (EXT-X-DATERANGE) and ASSET-LIST invocations. All registrations merge within that asset.

Functions

NameSummary
registerabstract fun register(trackingEvent: InterstitialTrackingEvent, eventTrigger: InterstitialTrackingEventTrigger)
Registers a single trackingEvent to be fired for a specific eventTrigger.
abstract fun register(trackingEvents: List<InterstitialTrackingEvent>, eventTrigger: InterstitialTrackingEventTrigger)
Registers multiple trackingEvents to be fired for a specific eventTrigger.
trackingEventsabstract fun trackingEvents(eventTrigger: InterstitialTrackingEventTrigger): List<InterstitialTrackingEvent>
Returns all tracking events registered for a specific eventTrigger.