AdProgressProvider

public interface AdProgressProvider
Known Indirect Subclasses

Defines an interface to expose ad progress. It is implemented by AdsManager to provide information to the application (for example, to support tracking UI) as well as by various VideoAdPlayer implementations to enable integration with the IMA subystems.

Public Method Summary

abstract VideoProgressUpdate
getAdProgress()
Returns VideoProgressUpdate describing playback progress of the current ad or VideoProgressUpdate#VIDEO_TIME_NOT_READY if video details are not yet available.

Public Methods

public abstract VideoProgressUpdate getAdProgress ()

Returns VideoProgressUpdate describing playback progress of the current ad or VideoProgressUpdate#VIDEO_TIME_NOT_READY if video details are not yet available. This method should never return null.