lib / tv.smartclip.smartclientandroid.lib.dto.core / SxPublicAdSlot

SxPublicAdSlot

@JsonClass(true) data class SxPublicAdSlot

Collection of data that describes the current ad slot.

Constructors

<init>

Collection of data that describes the current ad slot.

SxPublicAdSlot(currentClip: Int? = null, totalClips: Int? = null, currentCommercial: Int? = null, totalCommercials: Int? = null, totalCommercialsDuration: Double? = null, totalCommercialsCurrentTime: Double? = null)

Properties

currentClip

Index of the current ad, regardless of its variant.

val currentClip: Int?

currentCommercial

Index of the current ad of variant COMMERCIAL. Defaulting to -1.

val currentCommercial: Int?

totalClips

Total number of ads within the current ad break, regardless of variants.

val totalClips: Int?

totalCommercials

Total number of ads with variant COMMERCIAL within the current ad break.

val totalCommercials: Int?

totalCommercialsCurrentTime

Current time of all ads with variant COMMERCIAL within the current ad break.

val totalCommercialsCurrentTime: Double?

totalCommercialsDuration

Total duration of ads with variant COMMERCIAL within the current ad break.

val totalCommercialsDuration: Double?