Package com.intentsoftware.addapptr
Class AppNexusOptions
-
- All Implemented Interfaces:
public final class AppNexusOptionsAppNexus specific configuration
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerautoCloseTimeprivate BooleansupportNativeBannerprivate BooleansupportVideoBanner
-
Constructor Summary
Constructors Constructor Description AppNexusOptions(Integer autoCloseTime, Boolean supportNativeBanner, Boolean supportVideoBanner)
-
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. -
-
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.
-
-
-
-