AdDisplayContainer

public interface AdDisplayContainer extends BaseDisplayContainer


A container in which to display the ads. Linear ads will be played in the player and companion ads will be placed in the companion slots.

Summary

Public methods

abstract VideoAdPlayer

Returns the player provided at creation.

Inherited methods

From com.google.ads.interactivemedia.v3.api.BaseDisplayContainer
abstract void

This method is deprecated.

- This method is redundant once users are using release.

abstract ViewGroup

Returns the previously set container, or null if none has been set.

abstract Collection<CompanionAdSlot>

Gets the companion slots that have been set.

abstract void

Registers a view that overlays or obstructs this container as "friendly" for viewability measurement purposes.

abstract void

Sets slots for displaying companions.

abstract void

Unregisters all previously registered friendly obstructions.

Public methods

getPlayer

abstract VideoAdPlayer getPlayer()

Returns the player provided at creation.