Banner

fun Banner(placementId: String? = null, heightCallback: (Double) -> Unit? = null)

Renders a Braze Banner by wrapping BannerView in a Jetpack Compose AndroidView.

Parameters

placementId

The Banner placement identifier, or null for the default placement.

heightCallback

Optional callback invoked with the rendered Banner height in dp.