Class SuperAwesomeOptions.BannerOptions
-
- All Implemented Interfaces:
-
com.intentsoftware.addapptr.SuperAwesomeOptions.NetworkOptions
public final class SuperAwesomeOptions.BannerOptions implements SuperAwesomeOptions.NetworkOptions
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanparentalGateEnabledprivate BooleanbumperPageEnabledprivate StringbumperPageCustomAppNameprivate DrawablebumperPageLogoprivate BooleanisBackgroundTransparent
-
Constructor Summary
Constructors Constructor Description SuperAwesomeOptions.BannerOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, Boolean isBackgroundTransparent)SuperAwesomeOptions.BannerOptions()
-
Method Summary
Modifier and Type Method Description BooleangetParentalGateEnabled()The Parental gate is a dialog that appears when a user clicks on an ad, disabled by default. UnitsetParentalGateEnabled(Boolean parentalGateEnabled)The Parental gate is a dialog that appears when a user clicks on an ad, disabled by default. BooleangetBumperPageEnabled()The Bumper page is a customizable dialog that notifies the user when they are about to leave a kid-safe place and proceed to an external website. UnitsetBumperPageEnabled(Boolean bumperPageEnabled)The Bumper page is a customizable dialog that notifies the user when they are about to leave a kid-safe place and proceed to an external website. StringgetBumperPageCustomAppName()Set app name to be displayed on the bumper page. UnitsetBumperPageCustomAppName(String bumperPageCustomAppName)Set app name to be displayed on the bumper page. DrawablegetBumperPageLogo()Set logo to be displayed on the bumper page. UnitsetBumperPageLogo(Drawable bumperPageLogo)Set logo to be displayed on the bumper page. final BooleanisBackgroundTransparent()set whether the banner background is transparent or gray. final UnitsetBackgroundTransparent(Boolean isBackgroundTransparent)set whether the banner background is transparent or gray. StringtoString()-
-
Constructor Detail
-
SuperAwesomeOptions.BannerOptions
SuperAwesomeOptions.BannerOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, Boolean isBackgroundTransparent)
-
SuperAwesomeOptions.BannerOptions
SuperAwesomeOptions.BannerOptions()
-
-
Method Detail
-
getParentalGateEnabled
Boolean getParentalGateEnabled()
The Parental gate is a dialog that appears when a user clicks on an ad, disabled by default. recommended to set it to true if the app is in kids category.
-
setParentalGateEnabled
Unit setParentalGateEnabled(Boolean parentalGateEnabled)
The Parental gate is a dialog that appears when a user clicks on an ad, disabled by default. recommended to set it to true if the app is in kids category.
-
getBumperPageEnabled
Boolean getBumperPageEnabled()
The Bumper page is a customizable dialog that notifies the user when they are about to leave a kid-safe place and proceed to an external website. disabled by default.
-
setBumperPageEnabled
Unit setBumperPageEnabled(Boolean bumperPageEnabled)
The Bumper page is a customizable dialog that notifies the user when they are about to leave a kid-safe place and proceed to an external website. disabled by default.
-
getBumperPageCustomAppName
String getBumperPageCustomAppName()
Set app name to be displayed on the bumper page. By default, the Bumper page displays the application name.
-
setBumperPageCustomAppName
Unit setBumperPageCustomAppName(String bumperPageCustomAppName)
Set app name to be displayed on the bumper page. By default, the Bumper page displays the application name.
-
getBumperPageLogo
Drawable getBumperPageLogo()
Set logo to be displayed on the bumper page. By default, the Bumper page displays the AwesomeAds logo
-
setBumperPageLogo
Unit setBumperPageLogo(Drawable bumperPageLogo)
Set logo to be displayed on the bumper page. By default, the Bumper page displays the AwesomeAds logo
-
isBackgroundTransparent
final Boolean isBackgroundTransparent()
set whether the banner background is transparent or gray.
-
setBackgroundTransparent
final Unit setBackgroundTransparent(Boolean isBackgroundTransparent)
set whether the banner background is transparent or gray.
-
-
-
-