AdBaseManager

interface AdBaseManager

Inheritors

Properties

Link copied to clipboard
abstract val ads: List<AdData>

Contains the initial ads obtained as a result of parsing the VAST response.

Link copied to clipboard

Used to add custom data to analytics events that are related to the ad lifecycle.

Functions

Link copied to clipboard
abstract fun getCurrentTime(): Double

Gets the current time.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun setAdapter(adapter: AdBaseManagerAdapter)

Sets an adapter. Param adapter that will be called when info is needed Setting a new value it would override current one. Call removeAdBaseManagerAdapter when adapter is not needed anymore.

Link copied to clipboard
abstract fun setListener(listener: AdBaseManagerListener)

Sets a listener that needs to be notified. Setting a new value it would override current one. Call removeAdBaseManagerListener when listener is not needed anymore.

Link copied to clipboard
abstract fun skipAd()

If an ad break is currently playing, discards it and resumes content. Otherwise, ignores the next scheduled ad break.