RewardedVideoOptions class

Rewarded video options configuration class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RewardedVideoOptions({bool parentalGateEnabled = false, bool bumperPageEnabled = false, String? bumperPageCustomAppName, SuperAwesomeOrientation? orientation = SuperAwesomeOrientation.any, SuperAwesomeCloseButtonState? closeButtonState = SuperAwesomeCloseButtonState.enabled, bool? closeButtonAtEnd, bool? smallClickEnabled, bool? closeButtonWarningEnabled})
RewardedVideoOptions.fromJson(Map<String, dynamic> json)
factory

Properties

bumperPageCustomAppName String?
Set app name to be displayed on the bumper page. By default, the Bumper page displays the application name.
getter/setter pairinherited
bumperPageEnabled bool?
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.
getter/setter pairinherited
closeButtonAtEnd bool?
Enable or disable auto-closing at the end.
getter/setter pair
closeButtonState SuperAwesomeCloseButtonState?
Set whether 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.
getter/setter pairinherited
closeButtonWarningEnabled bool?
Enable or disable close button warning.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
orientation SuperAwesomeOrientation?
Set the desired orientation to show the Ad in, note that your app must support the specified orientation.
getter/setter pairinherited
parentalGateEnabled bool?
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 the kids category.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallClickEnabled bool?
Enable or disable small click button.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited