AdProgressInfo

public interface AdProgressInfo

Represents the progress within this ad break.

Public Method Summary

abstract double
getAdBreakDuration()
Returns total ad break duration (in seconds).
abstract double
getAdPeriodDuration()
Returns total ad period duration (in seconds).
abstract int
getAdPosition()
Returns the position of current ad within the ad break, starting with 1.
abstract double
getCurrentTime()
Returns current time within the ad (in seconds).
abstract double
getDuration()
Returns duration of current ad (in seconds).
abstract int
getTotalAds()
Returns the total number of ads in this ad break.

Public Methods

public abstract double getAdBreakDuration ()

Returns total ad break duration (in seconds).

public abstract double getAdPeriodDuration ()

Returns total ad period duration (in seconds). This includes the duration of ads in the pod as well as slate.

public abstract int getAdPosition ()

Returns the position of current ad within the ad break, starting with 1.

public abstract double getCurrentTime ()

Returns current time within the ad (in seconds).

public abstract double getDuration ()

Returns duration of current ad (in seconds).

public abstract int getTotalAds ()

Returns the total number of ads in this ad break.