meson-wrap / ai.meson.ads / RewardedBidFetcher

RewardedBidFetcher

class RewardedBidFetcher : BidFetcher

Rewarded bid fetcher - functions same as its parent class BidFetcher with any adType specific functionalities present in this class.

Constructors

<init>

RewardedBidFetcher(adUnitId: String)

Inherited Properties

adUnitId

val adUnitId: String
  • Use the adUnit Id created at the time of on-boarding

mAdExtras

var mAdExtras: <ERROR CLASS><String, String>

mAdSize

open var mAdSize: AdSize?

Inherited Functions

cancelBidFetch

fun cancelBidFetch(): Unit

Cancels the current Bid Fetching Job launched in this scope.

destroy

open fun destroy(): Unit

Destroys the bidFetcher instance and cancels all the coroutines launched in this scope

fetchBid

open fun fetchBid(bidFetchListener: MesonBidFetchListener): Unit

Fetches the bid from Meson Ad Server and gives a callback on bidFetchListener if the server returns back with a valid response/invalid response/times out.