SupportNativeAdCard

fun SupportNativeAdCard(modifier: Modifier = Modifier, adUnitId: String, containerColor: Color = Color.Unspecified, onAdLoaded: (Boolean) -> Unit = {})(source)

Support-screen placement using the shared media-led NativeAdSlot, which owns ad loading and disposal.

Parameters

containerColor

Optional host surface override.

onAdLoaded

Reports whether an ad is currently displayed so the host can collapse the slot.