AdaptyPaywallFetchPolicy

sealed interface AdaptyPaywallFetchPolicy

Defines policies for fetching paywalls from the Adapty backend.

This allows you to control how the SDK retrieves paywall data, either always reloading from the network, using cached data, or a combination.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Always reload from the backend while revalidating cached data.

Link copied to clipboard

Return cached data if available, otherwise load from the backend.

Link copied to clipboard

Return cached data if it is not older than maxAgeMillis, otherwise load from the backend.