SASRewardedVideoManager

This class is in charge of loading and displaying rewarded video ads

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull adPlacement: SASAdPlacement)
constructor(@NonNull context: Context, @NonNull biddingAdResponse: SASBiddingAdResponse)

Types

Link copied to clipboard
Interface implemented by Objects that will handle SASRewardedVideoManager video lifecycle events

Functions

Link copied to clipboard
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
Returns the SASOpenMeasurementManager.
Link copied to clipboard
Return whether there is a Rewarded video ad ready to be displayed
Link copied to clipboard
Loads a rewarded ad.
open fun loadRewardedVideo(@NonNull bidderAdapter: SASBidderAdapter)
open fun loadRewardedVideo(@Nullable bidderAdapter: SASBidderAdapter, @Nullable securedTransactionToken: String)
Loads and display a rewarded video ad using a bidder adapter.
open fun loadRewardedVideo(@Nullable securedTransactionToken: String)
Loads a rewarded ad using a secured transaction token passed to Smart delivery servers.
Link copied to clipboard
open fun onDestroy()
This method must be called when the activity (that this SASRewardedVideoManager is attached to) is destroyed (typically in the onDestroy() method of the activity).
Link copied to clipboard
open fun reset()
Closes any interstitial view currently displayed or cancels any pending loadAd call.
Link copied to clipboard
Sets the specified SASOpenMeasurementManager.
Link copied to clipboard
Shows the previously loaded rewarded video, if any.