CASAppOpen class abstract

Manages an app open ad, allowing for loading, showing, and destroying the ad content.

This class handles app open ads, which are full-screen ads shown when the user opens the app. These ads are designed to capture the user's attention and are typically displayed when the app is launched or resumed.

casId The unique identifier for the CAS content, typically an application bundle name.

Constructors

CASAppOpen.new()

Properties

contentCallback ScreenAdContentCallback?
Gets or sets the callback for handling ad content events.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
impressionListener OnAdImpressionListener?
Gets or sets the listener for ad impression events.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<void>
Destroys the ad content and releases any associated resources.
getContentInfo() Future<AdContentInfo?>
Information about the currently loaded ad.
isAutoloadEnabled() Future<bool>
Gets or sets whether autoloading of ads is enabled.
isAutoshowEnabled() Future<bool>
Controls whether the ad should be automatically displayed when the user returns to the app.
isLoaded() Future<bool>
Indicates whether the ad is currently loaded and ready to be shown.
load() Future<void>
Loads the app open ad content.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAutoloadEnabled(bool isEnabled) Future<void>
See getAutoloadEnabled
setAutoshowEnabled(bool isEnabled) Future<void>
See getAutoshowEnabled
show() Future<void>
Shows the app open ad to the user.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(String casId) CASAppOpen