cache

abstract fun cache()

Caches an ad. This method will first check if there is a cached ad and, if found, will do nothing. If no cached ad exists, the method will attempt to fetch it from the Chartboost server. Implement didCacheAd(event: CacheEvent, error: CacheError?) to be notified of the cache request result.


abstract fun cache(bidResponse: String?)

Caches an ad with bid response. This method will parse the provided bid response and cache the ad accordingly.