AdDisplayContainer

interface AdDisplayContainer : 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 functions

VideoAdPlayer!

Returns the player provided at creation.

Inherited functions

From com.google.ads.interactivemedia.v3.api.BaseDisplayContainer
Unit

This function is deprecated.

- This method is redundant once users are using release.

ViewGroup!

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

(Mutable)Collection<CompanionAdSlot!>!

Gets the companion slots that have been set.

Unit

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

Unit

Sets slots for displaying companions.

Unit

Unregisters all previously registered friendly obstructions.

Public functions

getPlayer

fun getPlayer(): VideoAdPlayer!

Returns the player provided at creation.