meson-wrap-mopub / ai.meson.wrap / MesonMoPubInterstitial

MesonMoPubInterstitial

class MesonMoPubInterstitial : TPBidFetch<MoPubInterstitial>

This is a plugin file specific for publishers having MoPub as a primary integration and Interstitial as an adType

Constructors

<init>

MesonMoPubInterstitial(adUnitId: String)

Create MesonMoPub interstitial object with the above two parameters

Functions

destroy

fun destroy(): Unit

Call to kill the MesonMoPubInterstitial object. Following will be done upon calling this method

fetchBid

fun fetchBid(pubObj: MoPubInterstitial, bidFetchListener: MesonAdFetchListener<MoPubInterstitial>): Unit

Fetch ad - fetches the bid and sets the response on the given pubObj and notifies the completion on bidFetchListener