public interface AdBreak
Modifier and Type | Method and Description |
---|---|
List<Ad> |
getAds()
The list of all the ads which will be played sequentially at the ad break's time offset.
|
AdIntegrationKind |
getIntegration()
The type of ad integration.
|
int |
getMaxDuration()
Indicates the duration of the ad break, in seconds.
|
double |
getMaxRemainingDuration()
Indicates the remaining duration of the ad break, in seconds.
|
int |
getTimeOffset()
The time offset at which content will be paused to play the ad break, in seconds.
|
List<Ad> getAds()
int getMaxDuration()
- Ads are lazily loaded. This property becomes available when all ads are loaded. - If the maximum duration is not set, it will return -1.
double getMaxRemainingDuration()
- Ads are lazily loaded. This property becomes available when all ads are loaded. - This property also considers the already played content of the current linear ad. - This feature is not available in the Google IMA integration and will default to -1.
int getTimeOffset()
AdIntegrationKind getIntegration()
- For all possibilities, see: AdIntegrationKind
.
AdIntegrationKind.DEFAULT