-
public abstract class MediationBaseFullScreenAdUnit extends MediationBaseAdUnit
Internal base interstitial ad unit.
-
-
Method Summary
Modifier and Type Method Description voidsetMaxVideoDuration(int seconds)Sets max video duration. voidsetSkipDelay(int secondsDelay)Sets delay in seconds to show skip or close button. voidsetSkipButtonArea(@FloatRange(from = 0, to = 1.0) double buttonArea)Sets skip button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default. voidsetSkipButtonPosition(Position skipButtonPosition)Sets skip button position on the screen. voidsetCloseButtonArea(@FloatRange(from = 0, to = 1.0) double closeButtonArea)Sets close button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default. voidsetCloseButtonPosition(@Nullable() Position closeButtonPosition)Sets close button position on the screen. voidsetIsMuted(boolean isMuted)Sets desired is muted property. voidsetIsSoundButtonVisible(boolean isSoundButtonVisible)Makes sound button visible. -
Methods inherited from class org.prebid.mobile.api.mediation.MediationBaseAdUnit
destroy, getGlobalOrtbConfig, getImpOrtbConfig, getPbAdSlot, setGlobalOrtbConfig, setImpOrtbConfig, setPbAdSlot -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setMaxVideoDuration
void setMaxVideoDuration(int seconds)
Sets max video duration. If the ad from server is bigger, it will be rejected.
-
setSkipDelay
void setSkipDelay(int secondsDelay)
Sets delay in seconds to show skip or close button.
-
setSkipButtonArea
void setSkipButtonArea(@FloatRange(from = 0, to = 1.0) double buttonArea)
Sets skip button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default.
-
setSkipButtonPosition
void setSkipButtonPosition(Position skipButtonPosition)
Sets skip button position on the screen. Suitable values TOP_LEFT and TOP_RIGHT.Default value TOP_RIGHT.
-
setCloseButtonArea
void setCloseButtonArea(@FloatRange(from = 0, to = 1.0) double closeButtonArea)
Sets close button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default.
-
setCloseButtonPosition
void setCloseButtonPosition(@Nullable() Position closeButtonPosition)
Sets close button position on the screen. Suitable values TOP_LEFT and TOP_RIGHT.Default value TOP_RIGHT.
-
setIsMuted
void setIsMuted(boolean isMuted)
Sets desired is muted property.
-
setIsSoundButtonVisible
void setIsSoundButtonVisible(boolean isSoundButtonVisible)
Makes sound button visible.
-
-
-
-