BannerJavascriptInterface

constructor(context: Context, placementId: String, setHeightCallback: (Double) -> Unit = {})

Parameters

context
placementId

The placement ID of the banner.

setHeightCallback

a callback to set the height of the banner. You must convert to absolute pixels before calling this method.