PreloadCallback

interface PreloadCallback


Callback for receiving preloading lifecycle events.

Summary

Public functions

Unit
onAdsAvailable(preloadConfiguration: PreloadConfiguration!)

Called when a new ad is available for a given preload configuration.

Unit
onAdsExhausted(preloadConfiguration: PreloadConfiguration!)

Called when the last available ad is exhausted for a given preload configuration.

Public functions

onAdsAvailable

fun onAdsAvailable(preloadConfiguration: PreloadConfiguration!): Unit

Called when a new ad is available for a given preload configuration.

onAdsExhausted

fun onAdsExhausted(preloadConfiguration: PreloadConfiguration!): Unit

Called when the last available ad is exhausted for a given preload configuration.