Chartboost Mediation Fullscreen Ad
class ChartboostMediationFullscreenAd(var cachedAd: CachedAd?, var listener: ChartboostMediationFullscreenAdListener?, var request: ChartboostMediationAdLoadRequest, var loadId: String, var winningBidInfo: Map<String, String> = mapOf(), adController: AdController?)
The Chartboost Mediation fullscreen ad. This class is responsible for showing and invalidating the ad.
Constructors
Link copied to clipboard
constructor(cachedAd: CachedAd?, listener: ChartboostMediationFullscreenAdListener?, request: ChartboostMediationAdLoadRequest, loadId: String, winningBidInfo: Map<String, String> = mapOf(), adController: AdController?)
Properties
Link copied to clipboard
The custom data for the ad.
Link copied to clipboard
The ChartboostMediationFullscreenAdListener to notify of ad events.
Link copied to clipboard
The publisher-supplied ChartboostMediationAdLoadRequest that was used to load the ad.
Link copied to clipboard
The winning bid info for the ad.
Functions
Link copied to clipboard
Invalidate the ad. This should be called when the ad is no longer needed.
Link copied to clipboard
Show the fullscreen ad.
Link copied to clipboard
fun showFullscreenAdFromJava(context: Context, listener: ChartboostMediationFullscreenAdShowListener)
Show the fullscreen ad. This method is designed to be called from Java.