com.bitmovin.player.api.ssai
SsaiAdBreak
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
| Name | Summary |
|---|---|
| ads | open override val ads: List<SsaiAd> The ads scheduled for this AdBreak. |
| duration | val duration: Double? |
| id | open override val id: String The id of the corresponding AdBreakConfig. |
| metadata | val metadata: SsaiMetadata |
| replaceContentDuration | open 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. |
| scheduleTime | open override val scheduleTime: Double The time in seconds in the media timeline the AdBreak is scheduled for. |