Class AppNexusOptions
-
- All Implemented Interfaces:
public final class AppNexusOptionsAppNexus specific configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAppNexusOptions.ClickThroughActionDefines how clicks on AppNexus/Xandr ads should be handled
-
Field Summary
Fields Modifier and Type Field Description private IntegerautoCloseTimeprivate BooleansupportNativeBannerprivate BooleansupportVideoBannerprivate AppNexusOptions.ClickThroughActionclickThroughAction
-
Constructor Summary
Constructors Constructor Description AppNexusOptions(Integer autoCloseTime, Boolean supportNativeBanner, Boolean supportVideoBanner, AppNexusOptions.ClickThroughAction clickThroughAction)
-
Method Summary
Modifier and Type Method Description final IntegergetAutoCloseTime()A delay in seconds after which a full-screen ad will be dismissed. final UnitsetAutoCloseTime(Integer autoCloseTime)A delay in seconds after which a full-screen ad will be dismissed. final BooleangetSupportNativeBanner()A Boolean that describes if Banner Ad can serve a Native Ad, default is false. final UnitsetSupportNativeBanner(Boolean supportNativeBanner)A Boolean that describes if Banner Ad can serve a Native Ad, default is false. final BooleangetSupportVideoBanner()A Boolean that describes if Banner Ad can serve Video Ads, default is false. final UnitsetSupportVideoBanner(Boolean supportVideoBanner)A Boolean that describes if Banner Ad can serve Video Ads, default is false. final AppNexusOptions.ClickThroughActiongetClickThroughAction()Click handling behavior for AppNexus/Xandr ads. final UnitsetClickThroughAction(AppNexusOptions.ClickThroughAction clickThroughAction)Click handling behavior for AppNexus/Xandr ads. -
-
Constructor Detail
-
AppNexusOptions
AppNexusOptions(Integer autoCloseTime, Boolean supportNativeBanner, Boolean supportVideoBanner, AppNexusOptions.ClickThroughAction clickThroughAction)
-
-
Method Detail
-
getAutoCloseTime
final Integer getAutoCloseTime()
A delay in seconds after which a full-screen ad will be dismissed. Default value is null.
-
setAutoCloseTime
final Unit setAutoCloseTime(Integer autoCloseTime)
A delay in seconds after which a full-screen ad will be dismissed. Default value is null.
-
getSupportNativeBanner
final Boolean getSupportNativeBanner()
A Boolean that describes if Banner Ad can serve a Native Ad, default is false.
-
setSupportNativeBanner
final Unit setSupportNativeBanner(Boolean supportNativeBanner)
A Boolean that describes if Banner Ad can serve a Native Ad, default is false.
-
getSupportVideoBanner
final Boolean getSupportVideoBanner()
A Boolean that describes if Banner Ad can serve Video Ads, default is false.
-
setSupportVideoBanner
final Unit setSupportVideoBanner(Boolean supportVideoBanner)
A Boolean that describes if Banner Ad can serve Video Ads, default is false.
-
getClickThroughAction
final AppNexusOptions.ClickThroughAction getClickThroughAction()
Click handling behavior for AppNexus/Xandr ads. Default value is null (uses SDK default).
-
setClickThroughAction
final Unit setClickThroughAction(AppNexusOptions.ClickThroughAction clickThroughAction)
Click handling behavior for AppNexus/Xandr ads. Default value is null (uses SDK default).
-
-
-
-