ImaAdBreak

com.bitmovin.player.api.advertising.ima

ImaAdBreak

interface ImaAdBreak : AdBreak, ImaAdBreakConfig

Contains IMA specific information about an AdBreak.

Properties

NameSummary
adsabstract val ads: List<Ad>
The ads scheduled for this AdBreak.
currentFallbackIndexabstract val currentFallbackIndex: Int?
Used internally for keeping track of the current fallback index when doing ad-waterfalling.
fallbackTagsabstract val fallbackTags: Array<AdTag>
Defines an array of fallback ad tags which will be tried one after the other if the original ad tag does not provide a valid response.
idabstract val id: String
The id of the corresponding AdBreakConfig.
positionabstract val position: String
Defines when the ad break should be played. Default is 'pre'.
replaceContentDurationabstract val replaceContentDuration: Double?
Returns how many seconds of the main video content should be replaced by ad break(s).
scheduleTimeabstract val scheduleTime: Double
The time in seconds in the media timeline the AdBreak is scheduled for.
skippableAfterabstract val skippableAfter: Double?
Specifies after which time ads in the ad break become skippable. By setting it to -1, an ad is marked as not skippable. This overrides the skip settings from the downloaded ads.
tagabstract val tag: AdTag
Defines the url and type of the ad manifest. If the tag is a VAST or VPAID manifest, then more specific scheduling options can be defined in the AdBreakConfig.