In July 2020, Google Play announced the new safety section, a developer-provided disclosure of apps' data collection, sharing, and security practices. We are preparing documentation about our product behavior for publication and will update this site with more information in the coming weeks.

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 (e.g. 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.