Package com.naver.ads.video.player
Interface CompanionAdSlot
-
- All Implemented Interfaces:
public interface CompanionAdSlotA companion ad slot for which the SDK should retrieve ads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCompanionAdSlot.ClickListenerListener interface for click events.
public enumCompanionAdSlot.RenderingTypeThe rendering type for rendering of companion ad
public classCompanionAdSlot.Companion
-
Method Summary
Modifier and Type Method Description abstract UnitaddClickListener(CompanionAdSlot.ClickListener listener)Adds a listener for companion clicks. abstract UnitremoveClickListener(CompanionAdSlot.ClickListener listener)Removes a listener for companion clicks. abstract BooleanisFilled()Returns true if the companion ad slot is filled, false otherwise. abstract IntegergetWidth()the width of the companion ad slot. abstract IntegergetHeight()the height of the companion ad slot. abstract ViewGroupgetContainer()the ViewGroup into which the companion will be rendered. abstract CompanionAdSlot.RenderingTypegetRenderingType()the rendering type for rendering of the companion ad slot. -
-
Method Detail
-
addClickListener
abstract Unit addClickListener(CompanionAdSlot.ClickListener listener)
Adds a listener for companion clicks.
-
removeClickListener
abstract Unit removeClickListener(CompanionAdSlot.ClickListener listener)
Removes a listener for companion clicks.
-
isFilled
abstract Boolean isFilled()
Returns true if the companion ad slot is filled, false otherwise.
-
getContainer
abstract ViewGroup getContainer()
the ViewGroup into which the companion will be rendered.
-
getRenderingType
abstract CompanionAdSlot.RenderingType getRenderingType()
the rendering type for rendering of the companion ad slot.
-
-
-
-