SsaiAdBreak

com.bitmovin.player.api.ssai

SsaiAdBreak

@ExperimentalBitmovinApi

data class SsaiAdBreak@JvmOverloadsconstructor(val id: String, val scheduleTime: Double, val duration: Double? = null, val ads: List<SsaiAd> = emptyList(), val metadata: SsaiMetadata = SsaiMetadata()) : AdBreak

Represents an ad break stitched into the media stream by an SSAI provider.

Constructors

SsaiAdBreak@JvmOverloads
constructor(id: String, scheduleTime: Double, duration: Double? = null, ads: List<SsaiAd> = emptyList(), metadata: SsaiMetadata = SsaiMetadata())

Properties

NameSummary
adsopen override val ads: List<SsaiAd>
The ads scheduled for this AdBreak.
durationval duration: Double?
idopen override val id: String
The id of the corresponding AdBreakConfig.
metadataval metadata: SsaiMetadata
replaceContentDurationopen override val replaceContentDuration: Double?
SSAI ad breaks are already stitched into the media stream. The player does not perform client-side content replacement for them, so this is always 0.0. Use duration for the stitched ad break duration.
scheduleTimeopen override val scheduleTime: Double
The time in seconds in the media timeline the AdBreak is scheduled for.