AdManager
The main class for Richie Ads.
Use one of the create
methods to create a new instance.
Types
Link copied to clipboard
interface SlotListener
Listener for loading events related to slot ads.
Functions
Link copied to clipboard
Adds a listener, which gets notified when slot ads become available.
Link copied to clipboard
Creates a new AdManager instance which stores its data in internal storage.
open fun create(@NonNull context: Context, @NonNull applicationIdentifier: String, @NonNull dataDirLocation: StorageOption): AdManager
Creates a new AdManager instance, with an option to choose Ads' data storage location.
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 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
Sets the delegate for opening ad links.