Paywall Web UI
Types
Link copied to clipboard
interface OnScrollChangeListener
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The paywall finished loading: the page is ready and has its templates. A WebView that is off screen (a preload waiting in the cache) can stop rendering from here on.
Link copied to clipboard
abstract fun setup(url: PaywallURL, onRenderCrashed: (didCrash: Boolean, priority: Int) -> Unit, onLoadFailed: (WebviewError) -> Unit = {})
Loads the paywall. onLoadFailed fires once the page can't be loaded at all: every URL and retry has been used up. Failures that are still being retried don't report.