SASRewarded Video Manager
This class is in charge of loading and displaying rewarded video ads
Constructors
Link copied to clipboard
Creates a SASRewardedVideoManager for a given SASAdPlacement
Creates a SASRewardedVideoManager from a com.smartadserver.android.library.headerbidding.SASBiddingAdResponse for InApp bidding setup.
Types
Link copied to clipboard
interface RewardedVideoListener
Interface implemented by Objects that will handle SASRewardedVideoManager video lifecycle events
Functions
Link copied to clipboard
Returns the SASAdPlacement associated with this SASRewardedVideoManager
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(@Nullable bidderAdapter: SASBidderAdapter, @Nullable securedTransactionToken: String)
Loads and display a rewarded video ad using a bidder adapter.
Loads a rewarded ad using a secured transaction token passed to Smart delivery servers.
Link copied to clipboard
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
Sets the specified SASOpenMeasurementManager.
Link copied to clipboard
Shows the previously loaded rewarded video, if any.