Package-level declarations
Functions
Link copied to clipboard
actual fun BannerAdView(placement: AdPlacement, modifier: Modifier, widthDp: Int?, onEvent: (AdEvent) -> Unit)
Composable that renders a banner ad for the given placement. Self-loads when the AdManager is AdManagerStatus.Ready (unless the placement uses BannerRefreshPolicy.Manual). Sizes adaptive banners to the measured container width.
expect fun BannerAdView(placement: AdPlacement, modifier: Modifier = Modifier, widthDp: Int? = null, onEvent: (AdEvent) -> Unit = {})
Composable that renders a banner ad for the given placement. Self-loads when the AdManager is AdManagerStatus.Ready (unless the placement uses BannerRefreshPolicy.Manual). Sizes adaptive banners to the measured container width.
actual fun BannerAdView(placement: AdPlacement, modifier: Modifier, widthDp: Int?, onEvent: (AdEvent) -> Unit)
Composable that renders a banner ad for the given placement. Self-loads when the AdManager is AdManagerStatus.Ready (unless the placement uses BannerRefreshPolicy.Manual). Sizes adaptive banners to the measured container width.
Link copied to clipboard
actual fun NativeAdView(placement: AdPlacement, itemKey: String, layout: AdLayout, modifier: Modifier, onEvent: (AdEvent) -> Unit)
expect fun NativeAdView(placement: AdPlacement, itemKey: String, layout: AdLayout = AdTemplates.mediaCard, modifier: Modifier = Modifier, onEvent: (AdEvent) -> Unit = {})
actual fun NativeAdView(placement: AdPlacement, itemKey: String, layout: AdLayout, modifier: Modifier, onEvent: (AdEvent) -> Unit)