BannerJavascriptInterface

class BannerJavascriptInterface(context: Context, val placementId: String, val setHeightCallback: (Double) -> Unit = {}) : JavascriptInterfaceBase

BannerJavascriptInterface.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun changeUser(userId: String, sdkAuthSignature: String?)
Link copied to clipboard
open override fun logButtonClick(buttonId: String?)
Link copied to clipboard
open override fun logClick()
Link copied to clipboard
fun logCustomEventWithJSON(eventName: String?, propertiesJSON: String?)
Link copied to clipboard
fun logPurchaseWithJSON(productId: String?, price: String, currencyCode: String?, quantity: String, propertiesJSON: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBannerHeight(height: Double)