Package ad.elo.androidsdk
See: Description
-
Class Summary Class Description BuildConfig Loaded The server returned an ad. NoFill No ad was available. Error Something went wrong (network failure, decoding, etc). AdResult The outcome of an ad request. ChatMessage A single message in a chat conversation. ContextObject Additional screen or page context to enrich ad targeting. EloAd One ad ready to render. EloAdDisclosure The ad disclosure, badged onto the creative mark's top-end corner — or the surface's own top-end corner when a creative's image fails to load. EloAdStyle Optional styling overrides for the Compose ad views. EloNetworkConfiguration Identity of the Elo ad unit the SDK requests ads for. EloConfiguration Full SDK configuration. NetworkError A transport-layer error occurred (DNS, connection, IO). ServerError The server returned a non-2xx status code. DecodingError Failed to decode the server response. EloError Typed errors from the Elo SDK. EloUserData First-party user data the host app knows about its signed-in user, shared with ad requests via Elo.setUserData. Other Any other reason; carries a human-readable description. NoFillReason Why an AdResult.NoFill was returned. -
Enum Summary Enum Description MessageRole The role of a participant in a chat conversation. EloAdDescriptionOverflow How the ad views present a creative description that doesn't fit. EloAdChrome How much surface decoration the ad views draw around their content. EloGender The gender values the Elo ad server accepts on EloUserData.gender. LogLevel SDK log verbosity. -
Object Summary Object Description Elo The entry point for the Elo SDK. Companion Companion NotConfigured The SDK has not been configured. Timeout The request timed out. Cancelled The request was cancelled. NoBids The server returned no ad for this request. Timeout The request did not complete within the SDK's deadline. SessionDisabled Elo.disable was called and the request was short-circuited. NotConfigured Elo.loadAd was called before Elo.configure. NetworkError The request failed with a transport or server error before an answer arrived. -
Interface Summary Interface Description EloAdListener Opt-in lifecycle callbacks for Elo ad events.