Class SuperAwesomeOptions.RewardedVideoOptions
-
- All Implemented Interfaces:
-
com.intentsoftware.addapptr.SuperAwesomeOptions.InterstitialNetworkOption,com.intentsoftware.addapptr.SuperAwesomeOptions.NetworkOptions
public final class SuperAwesomeOptions.RewardedVideoOptions implements SuperAwesomeOptions.InterstitialNetworkOption
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanparentalGateEnabledprivate BooleanbumperPageEnabledprivate StringbumperPageCustomAppNameprivate DrawablebumperPageLogoprivate SuperAwesomeOptions.Orientationorientationprivate SuperAwesomeOptions.CloseButtonStatecloseButtonStateprivate BooleancloseButtonAtEndprivate BooleansmallClickEnabledprivate BooleancloseButtonWarningEnabled
-
Constructor Summary
Constructors Constructor Description SuperAwesomeOptions.RewardedVideoOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, SuperAwesomeOptions.Orientation orientation, SuperAwesomeOptions.CloseButtonState closeButtonState, Boolean closeButtonAtEnd, Boolean smallClickEnabled, Boolean closeButtonWarningEnabled)SuperAwesomeOptions.RewardedVideoOptions()
-
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. final BooleangetCloseButtonAtEnd()Enable or disable auto-closing at the end final UnitsetCloseButtonAtEnd(Boolean closeButtonAtEnd)Enable or disable auto-closing at the end final BooleangetSmallClickEnabled()Enable or disable small click button final UnitsetSmallClickEnabled(Boolean smallClickEnabled)Enable or disable small click button final BooleangetCloseButtonWarningEnabled()Enable or disable close button warning final UnitsetCloseButtonWarningEnabled(Boolean closeButtonWarningEnabled)Enable or disable close button warning StringtoString()-
-
Constructor Detail
-
SuperAwesomeOptions.RewardedVideoOptions
SuperAwesomeOptions.RewardedVideoOptions(Boolean parentalGateEnabled, Boolean bumperPageEnabled, String bumperPageCustomAppName, Drawable bumperPageLogo, SuperAwesomeOptions.Orientation orientation, SuperAwesomeOptions.CloseButtonState closeButtonState, Boolean closeButtonAtEnd, Boolean smallClickEnabled, Boolean closeButtonWarningEnabled)
-
SuperAwesomeOptions.RewardedVideoOptions
SuperAwesomeOptions.RewardedVideoOptions()
-
-
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.
-
getCloseButtonAtEnd
final Boolean getCloseButtonAtEnd()
Enable or disable auto-closing at the end
-
setCloseButtonAtEnd
final Unit setCloseButtonAtEnd(Boolean closeButtonAtEnd)
Enable or disable auto-closing at the end
-
getSmallClickEnabled
final Boolean getSmallClickEnabled()
Enable or disable small click button
-
setSmallClickEnabled
final Unit setSmallClickEnabled(Boolean smallClickEnabled)
Enable or disable small click button
-
getCloseButtonWarningEnabled
final Boolean getCloseButtonWarningEnabled()
Enable or disable close button warning
-
setCloseButtonWarningEnabled
final Unit setCloseButtonWarningEnabled(Boolean closeButtonWarningEnabled)
Enable or disable close button warning
-
-
-
-