Package com.naver.ads.video.player
Class VideoAdDisplayContainer
-
- All Implemented Interfaces:
public final class VideoAdDisplayContainerA container in which to display the ads. Linear ads will be played in the player and companion ads will be placed in the companion ad slots.
-
-
Field Summary
Fields Modifier and Type Field Description private final ViewGroupadContainerprivate final VideoAdPlayeradPlayerprivate final CompanionAdSlotcompanionAdSlot
-
Constructor Summary
Constructors Constructor Description VideoAdDisplayContainer(ViewGroup adContainer, VideoAdPlayer adPlayer, CompanionAdSlot companionAdSlot)Constructs a new VideoAdDisplayContainer instance. VideoAdDisplayContainer(ViewGroup adContainer, VideoAdPlayer adPlayer)Constructs a new VideoAdDisplayContainer instance.
-
Method Summary
Modifier and Type Method Description final ViewGroupgetAdContainer()the ad container. final VideoAdPlayergetAdPlayer()the ad player. final CompanionAdSlotgetCompanionAdSlot()the slot for displaying companion ad. -
-
Constructor Detail
-
VideoAdDisplayContainer
VideoAdDisplayContainer(ViewGroup adContainer, VideoAdPlayer adPlayer, CompanionAdSlot companionAdSlot)
Constructs a new VideoAdDisplayContainer instance.
-
VideoAdDisplayContainer
VideoAdDisplayContainer(ViewGroup adContainer, VideoAdPlayer adPlayer)
Constructs a new VideoAdDisplayContainer instance.
-
-
Method Detail
-
getAdContainer
final ViewGroup getAdContainer()
the ad container.
-
getAdPlayer
final VideoAdPlayer getAdPlayer()
the ad player.
-
getCompanionAdSlot
final CompanionAdSlot getCompanionAdSlot()
the slot for displaying companion ad.
-
-
-
-