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
BannerBidFetcher(adUnitId: String, adSize: AdSize)
|
val adUnitId: String
|
|
var mAdExtras: <ERROR CLASS><String, String> |
|
open var mAdSize: AdSize? |
fun destroy(): Unit
Destroys the BannerBidFetcher instance and cancels all the coroutines launched in this scope |
|
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. |
|
fun onFocusChanged(isAppInForeground: Boolean): Unit |
fun cancelBidFetch(): Unit
Cancels the current Bid Fetching Job launched in this scope. |