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 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 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.