SASInterstitial Manager
This class is in charge of loading and displaying interstitial ads
Constructors
Link copied to clipboard
Creates a SASInterstitialManager for a classic use case.
Creates a SASInterstitialManager for a bidding use case only.
Types
Link copied to clipboard
interface InterstitialListener
Interface definition for Objects that will listen and react to SASInterstitialManager lifecycle events
Link copied to clipboard
interface OnCrashListener
Interface for Objects handling fatal crashes that occurred on underlying WebViews of the passed SASAdView and caught by appropriate WebViewClient
Properties
Link copied to clipboard
Link copied to clipboard
The InterstitialListener on this SASInterstitialManager.
Link copied to clipboard
Application set OnCrashListener to be notified when any of the internal webviews has crashed
Functions
Link copied to clipboard
Returns the current status of the interstitial ad of this SASInterstitialManager
Link copied to clipboard
Returns the current loaded SASAdElement for this SASInterstitialManager
Link copied to clipboard
Gets the
MessageHandler
instance on this SASAdView
Link copied to clipboard
Returns the SASOpenMeasurementManager.
Link copied to clipboard
Returns whether there is an interstitial ad ready to be displayed
Link copied to clipboard
Loads an interstitial ad.
open fun loadAd(@Nullable bidderAdapter: SASBidderAdapter, @Nullable securedTransactionToken: String)
Loads and display an ad in this SASAdView using a bidder adapter.
Link copied to clipboard
This method must be called when the activity (that this SASInterstitialManager is attached to) is destroyed (typically in the onDestroy() method of the activity).
Link copied to clipboard
Sends a message to the underlying WebView of the interstitial.
Link copied to clipboard
Sets the
MessageHandler
instance on the underlying SASAdView
interstitial viewLink copied to clipboard
Sets the specified SASOpenMeasurementManager.