UplynkAds

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

An Uplynk ads data contains an information about ad breaks.

Constructors

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

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).