GfpRewardedAdManagerBase

Base manager class for handling rewarded ads. This class should be used instead of for implementing rewarded ads.

Inheritors

Properties

Link copied to clipboard
open var adParam: AdParam
Parameters for the ad request

Functions

Link copied to clipboard
open fun destroy()
Destroys the ad and cleans up resources.
Link copied to clipboard
Gets the name of the ad provider after loading.
Link copied to clipboard
Gets the response information after loading the ad.
Link copied to clipboard
Checks if the loaded ad has expired or been invalidated.
Link copied to clipboard
open fun isLoaded(): Boolean
Checks if an ad is currently loaded.
Link copied to clipboard
open fun loadAd()
Loads a new ad after initial destroy.
Link copied to clipboard
open fun setAdListener(listener: RewardedAdListener)
Sets the listener for tracking NAM Ad events.
Link copied to clipboard
open fun setRewardedAdOptions(rewardedAdOptions: GfpRewardedAdOptions)
Sets new rewarded ad options.
Link copied to clipboard
open fun setTimeoutMillis(timeoutMillis: Long)
Sets the timeout duration for ad loading.
Link copied to clipboard
open fun showAd(@NonNull activity: Activity): Boolean
Shows the loaded ad in the specified activity.