AdAvailability

data class AdAvailability(val isReady: Boolean, val cachedCount: Int = 0, val expiresIn: Duration? = null)(source)

Availability information for cached ads.

Constructors

Link copied to clipboard
constructor(isReady: Boolean, cachedCount: Int = 0, expiresIn: Duration? = null)

Properties

Link copied to clipboard

Number of ads currently cached.

Link copied to clipboard

Duration until the next cached ad expires, or null if not available.

Link copied to clipboard

True when at least one ad is ready to show.