ChartboostMediationFullscreenAd

class ChartboostMediationFullscreenAd(var cachedAd: CachedAd?, var listener: ChartboostMediationFullscreenAdListener?, var request: ChartboostMediationFullscreenAdLoadRequest, 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: ChartboostMediationFullscreenAdLoadRequest, loadId: String, winningBidInfo: Map<String, String> = mapOf(), adController: AdController?)

Properties

Link copied to clipboard
var cachedAd: CachedAd?

The CachedAd to show.

Link copied to clipboard

The custom data for the ad.

Link copied to clipboard
Link copied to clipboard

The identifier for this load call.

Link copied to clipboard
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
suspend fun show(activity: <Error class: unknown class>): ChartboostMediationAdShowResult

Show the fullscreen ad.

Link copied to clipboard
fun showFullscreenAdFromJava(activity: <Error class: unknown class>, listener: ChartboostMediationFullscreenAdShowListener)

Show the fullscreen ad. This method is designed to be called from Java.