AdropBanner

class AdropBanner : FrameLayout

Banner view class responsible for requesting banner ads and displaying them to the user.


Public constructors

AdropBanner(context: Context, unitId: String)

AdropBanner(context: Context, unitId: String)

Requires Application Context and Ad unit ID


Public functions

fun load()

fun load()

Requests an ad from Adrop using the Ad unit ID of the AdropBanner.

fun setUnitId(unitId: String)

fun setUnitId(unitId: String)

Set Ad unit ID to the AdropBanner.

fun getUnitId(): String

fun getUnitId(): String

Get Ad unit ID of the AdropBanner.


Public properties

listener

var listener: AdropBannerListener?

Attach AdropBannerListener to this property.

Last updated