AdDisplayContainer

public interface AdDisplayContainer implements 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.

Public Method Summary

abstract VideoAdPlayer
getPlayer()
Returns the previously set player, or null if none has been set.
abstract void
setPlayer(VideoAdPlayer player)
This method is deprecated. Please construct the AdDisplayContainer by passing the VideoAdPlayer in the constructor, instead of using setPlayer.

Inherited Method Summary

Public Methods

public abstract VideoAdPlayer getPlayer ()

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

public abstract void setPlayer (VideoAdPlayer player)

This method is deprecated.
Please construct the AdDisplayContainer by passing the VideoAdPlayer in the constructor, instead of using setPlayer.

Provides an ad player to the SDK. The player may or may not be used for ad playback, depending on internal SDK rendering decisions. To maximize ad playability of your inventory see the Video Player guide on the IMA Android SDK site.

Parameters
player