package com.codename1.ads.spi

Service provider interface (SPI) for the Codename One advertising API. Ad network libraries implement AdProvider and register it with AdManager (typically from a static install() method). Application code never references these types; it uses the facade and format classes in com.codename1.ads.

Types

interface AdConsentControllerA provider’s consent and privacy controller, backing the public AdConsent facade.
interface AdProviderThe service provider interface implemented by an ad network library (such as the Google AdMob library).
interface AdSessionCallbackThe callback a AdProvider uses to report ad lifecycle events back to the Codename One ads layer.
interface BannerAdSessionA provider’s handle for a banner ad.
interface FullScreenAdSessionA provider’s handle for a single full screen ad (interstitial, rewarded, rewarded interstitial or app open).
interface NativeAdProviderOptional capability interface implemented by an AdProvider that supports native ads.