Package com.codename1.ads.spi
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.-
InterfacesClassDescriptionA provider's consent and privacy controller, backing the public
AdConsentfacade.The service provider interface implemented by an ad network library (such as the Google AdMob library).The callback aAdProvideruses to report ad lifecycle events back to the Codename One ads layer.A provider's handle for a banner ad.A provider's handle for a single full screen ad (interstitial, rewarded, rewarded interstitial or app open).Optional capability interface implemented by anAdProviderthat supports native ads.