Banner Cache
Integrate banner cache
Note
Create Banner Cache
_aatKitBinding.createBannerCache() //Change banner cache configuration if needed
private val bannerCachePlacementName = "bannerCachePlacement"
private val bannerCacheSize = 2
...
private fun createBannerCache() {
//Set more parameters of BannerCacheConfiguration if needed
val configuration = BannerCacheConfiguration(bannerCachePlacementName, bannerCacheSize)
configuration.delegate = bannerCacheListener
bannerCache = AATKit.createBannerCache(configuration)
}Consume Banners
Destroy old banner
Destroy no longer needed BannerCache
Code Example
Last updated