AdProgressInfo

data class AdProgressInfo(val adBreakDurationMs: Long, val numberOfAds: Int, val currentAdPosition: Int, val currentAdDurationMs: Long, val currentAdProgressMs: Long)

Represents information about the progress within a particular Ad Break.

Constructors

Link copied to clipboard
constructor(adBreakDurationMs: Long, numberOfAds: Int, currentAdPosition: Int, currentAdDurationMs: Long, currentAdProgressMs: Long)

Properties

Link copied to clipboard

The total Ad Break duration (in milliseconds).

Link copied to clipboard

The duration of the current Ad (in milliseconds).

Link copied to clipboard

The sequence number of the Ad that is currently playing. The sequence number should start with value 1 and this value should be incremented when the Ad Break's playback progresses to the next Ad.

Link copied to clipboard

The current time within the current Ad (in milliseconds).

Link copied to clipboard

The number of Ads in this Ad Break.