Package 

Class EloAdViewKt

    • Method Detail

      • EloAdView

        @Composable() final static Unit EloAdView(List<ChatMessage> messages, Modifier modifier, List<ContextObject> contextObjects, AdDisplayPosition displayPosition, EloAdStyle style, String sponsoredLabel, String callToActionLabel, String openLinkAccessibilityLabel, Boolean showLoadingPlaceholder, String loadingAccessibilityLabel, EloAdLayout layout, Function1<AdResult, Unit> onResult)

        The default Elo ad view — icon beside an "Ad • Title" attribution line and a one-line description that marquee-scrolls when it overflows, with a trailing disclosure chevron. The whole card is the click target; Elo-rendered creatives draw no CTA button (since 0.1.8, matching iOS 0.1.6). The card shares the inline banner's visual language (attribution line, plain surface background, hairline border, chevron) and mirrors AdMobNativeAdRenderer, so Elo-direct and AdMob fills share the same visual rhythm in a mixed feed.

        callToActionLabel only affects renderer-backed mediation fills — it is forwarded as AdRenderOptions.callToActionLabel and never drawn on Elo-rendered cards.

        layout selects the native presentation (EloAdLayout.CompactHorizontal card by default, or the EloAdLayout.InlineBanner strip) — the explicit parameter is the Android idiom for iOS's eloAdLayout environment value.

        Renders nothing on AdResult.NoFill or AdResult.Error. Auto-fires render and impression telemetry.