UplynkAds

@Serializable
data class UplynkAds(val breaks: List<UplynkAdBreak>, val breakOffsets: List<UplynkBreakOffsets> = emptyList(), val placeholderOffsets: List<UplynkPlaceholderAds> = emptyList())

An Uplynk ads data contains an information about ad breaks.

Constructors

Link copied to clipboard
constructor(breaks: List<UplynkAdBreak>, breakOffsets: List<UplynkBreakOffsets> = emptyList(), placeholderOffsets: List<UplynkPlaceholderAds> = emptyList())

Properties

Link copied to clipboard

A list of objects that contain the ad break's timeOffset and the index for the ads.breaks object.

Link copied to clipboard

A list of objects for every ad break in the ad response. This includes both linear and non-linear ads.

Link copied to clipboard

A list of objects with start and end times for every non-video ad that has been replaced with a short blank video (i.e., placeholder ad).