Banner Javascript Interface
class BannerJavascriptInterface(context: Context, val placementId: String, val setHeightCallback: (Double) -> Unit = {}) : JavascriptInterfaceBase
BannerJavascriptInterface.
Parameters
context
placement Id
The placement ID of the banner.
set Height Callback
a callback to set the height of the banner. You must convert to absolute pixels before calling this method.
Functions
Link copied to clipboard
Link copied to clipboard
Changes the current Braze user.
Link copied to clipboard
Logs a button click for the given button identifier.
Link copied to clipboard
Logs a custom event with optional JSON-encoded properties.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Requests an immediate flush of any pending analytics data to the Braze servers.
Link copied to clipboard
Link copied to clipboard