AdManager
The main class for Richie Ads.
Use one of the create
methods to create a new instance.
Types
Link copied to clipboard
Listener for loading events related to persistent ads.
Link copied to clipboard
interface SlotListener
Listener for loading events related to slot ads.
Functions
Link copied to clipboard
Adds a persistent listener, which provides callbacks for ad-related events.
Link copied to clipboard
Adds a listener, which gets notified when slot ads become available.
Link copied to clipboard
Link copied to clipboard
Informs Richie that an ad container will be deleted.
Link copied to clipboard
Link copied to clipboard
open fun getPlaceholderImage(@NonNull identifier: String, @NonNull containerDir: File, portrait: Boolean): Bitmap
Retrieves a placeholder image (e.g.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Tells Richie Ads that a page view has occurred in a slot.
Link copied to clipboard
Tells Richie Ads that a page view has occurred in multiple slots.
See nextFlightForSlots for details.
Link copied to clipboard
Removes a persistent listener.
Link copied to clipboard
Removes a slot listener.
Link copied to clipboard
Global persisted parameters can be used by ad creatives (using JavaScript API) to query global state.
Link copied to clipboard
Enables slot ads.