Package 

Class EloAdViewKt

    • Method Detail

      • EloAdView

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

        The default Elo ad view — icon beside the headline and a one-line description that marquee-scrolls when it overflows, closed by a trailing disclosure chevron or call-to-action button, with the ad disclosure badged into the card's top-end corner. The card shares the inline banner's visual language (corner badge, plain surface background, hairline border) and mirrors AdMobNativeAdRenderer, so Elo-direct and AdMob fills share the same visual rhythm in a mixed feed.

        The whole card is the click target, with or without a call-to-action label (EloAd.ctaText) in the trailing slot; impression and render telemetry fire from the card container either way.

        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.