AdPeriodInfo

public interface AdPeriodInfo


An ad period is a group of ads and slates that play at a specific time in the stream. This object contains information about the ad period.

Summary

Public methods

abstract double

Returns the duration of the ads in this ad period in seconds.

abstract double

Returns the duration of the slate that may be present in this ad period in seconds.

abstract int

Returns the total number of ads (excluding slate) in this ad period.

abstract double

Returns the total duration of the ad period in seconds.

Public methods

getAdsDuration

abstract double getAdsDuration()

Returns the duration of the ads in this ad period in seconds.

getSlateDuration

abstract double getSlateDuration()

Returns the duration of the slate that may be present in this ad period in seconds.

getTotalAds

abstract int getTotalAds()

Returns the total number of ads (excluding slate) in this ad period.

getTotalDuration

abstract double getTotalDuration()

Returns the total duration of the ad period in seconds.