open class BidFetcher
Bid fetcher class - Responsible to fetch the bid from Meson-server and give callback on completion.
BidFetcher(adUnitId: String)
Create Bid fetcher with the above parameter |
val adUnitId: String
|
|
var mAdExtras: <ERROR CLASS><String, String> |
|
open var mAdSize: AdSize? |
fun cancelBidFetch(): Unit
Cancels the current Bid Fetching Job launched in this scope. |
|
open fun destroy(): Unit
Destroys the bidFetcher instance and cancels all the coroutines launched in this scope |
|
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. |
class BannerBidFetcher : BidFetcher, FocusChangedListener
Banner bid fetcher - This is a child class of BidFetcher specifically used in case of fetching the bid repeatedly with a fixed refreshInterval |
|
class InterstitialBidFetcher : BidFetcher
Interstitial bid fetcher - functions same as its parent class BidFetcher with any adType specific functionality present in this class. |
|
class RewardedBidFetcher : BidFetcher
Rewarded bid fetcher - functions same as its parent class BidFetcher with any adType specific functionalities present in this class. |