CacheStatusDelegate

/**
 * Optional delegate representing the cache status.
 */
interface CacheStatusDelegate {
    /**
     * Will be called when the cache was empty and has been filled with at least one ad.
     */
    fun cacheIsNoLongerEmpty()

    /**
     * Will be called when the las ad from cache has been consumed and cache became (temporarily) empty.
     */
    fun cacheIsEmpty()

}

Last updated