BannerCacheConfiguration

constructor(placementName: String, size: Int)

Creates the configuration object to be used when creating BannerCache

Parameters

placementName

The name of the banner placement that will be created. The placement will be created by the cache and should not be created manually.

size

Defines how many preloaded banners should be available in the cache. Should be smaller than {@value MAX_CACHE_SIZE}.