Class SuperAwesomeOptions.InterstitialAdOptions
-
- All Implemented Interfaces:
-
com.intentsoftware.addapptr.SuperAwesomeOptions.InterstitialNetworkOption,com.intentsoftware.addapptr.SuperAwesomeOptions.NetworkOptions
public final class SuperAwesomeOptions.InterstitialAdOptions implements SuperAwesomeOptions.InterstitialNetworkOption
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanparentalGateEnabledprivate BooleanbumperPageEnabledprivate StringbumperPageCustomAppNameprivate DrawablebumperPageLogoprivate SuperAwesomeOptions.Orientationorientationprivate SuperAwesomeOptions.CloseButtonStatecloseButtonState
-
Constructor Summary
Constructors Constructor Description SuperAwesomeOptions.InterstitialAdOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, SuperAwesomeOptions.Orientation orientation, SuperAwesomeOptions.CloseButtonState closeButtonState)SuperAwesomeOptions.InterstitialAdOptions()
-
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. SuperAwesomeOptions.OrientationgetOrientation()set the desired orientation to show the Ad in, note that your app must support the specified orientation. UnitsetOrientation(SuperAwesomeOptions.Orientation orientation)set the desired orientation to show the Ad in, note that your app must support the specified orientation. SuperAwesomeOptions.CloseButtonStategetCloseButtonState()Set wether the close button should be displayed after delay or immediately The close button is displayed after a 1 second delay by default on interstitial ads unless settings are changed to disable it. UnitsetCloseButtonState(SuperAwesomeOptions.CloseButtonState closeButtonState)Set wether the close button should be displayed after delay or immediately The close button is displayed after a 1 second delay by default on interstitial ads unless settings are changed to disable it. StringtoString()-
-
Constructor Detail
-
SuperAwesomeOptions.InterstitialAdOptions
SuperAwesomeOptions.InterstitialAdOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, SuperAwesomeOptions.Orientation orientation, SuperAwesomeOptions.CloseButtonState closeButtonState)
-
SuperAwesomeOptions.InterstitialAdOptions
SuperAwesomeOptions.InterstitialAdOptions()
-
-
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
-
getOrientation
SuperAwesomeOptions.Orientation getOrientation()
set the desired orientation to show the Ad in, note that your app must support the specified orientation.
-
setOrientation
Unit setOrientation(SuperAwesomeOptions.Orientation orientation)
set the desired orientation to show the Ad in, note that your app must support the specified orientation.
-
getCloseButtonState
SuperAwesomeOptions.CloseButtonState getCloseButtonState()
Set wether the close button should be displayed after delay or immediately The close button is displayed after a 1 second delay by default on interstitial ads unless settings are changed to disable it.
-
setCloseButtonState
Unit setCloseButtonState(SuperAwesomeOptions.CloseButtonState closeButtonState)
Set wether the close button should be displayed after delay or immediately The close button is displayed after a 1 second delay by default on interstitial ads unless settings are changed to disable it.
-
-
-
-