preloadPaywalls

fun preloadPaywalls(placementNames: Set<String>)(source)

Preloads paywalls for specific event names.

To use this, first set PaywallOptions/shouldPreload to false when configuring the SDK. Then call this function when you would like preloading to begin.

Note: This will not reload any paywalls you've already preloaded.

Parameters

placementNames

A set of names of events whose paywalls you want to preload.