PaywallResource

sealed class PaywallResource(source)

Represents a local resource that can be served to paywall WebViews via swlocal:// URLs.

Inheritors

Types

Link copied to clipboard
data class FromResources(val resId: Int) : PaywallResource

A resource backed by an Android resource ID (e.g. R.raw.hero_video, R.drawable.bg).

Link copied to clipboard
data class FromUri(val uri: Uri) : PaywallResource

A resource backed by an Android Uri (file://, content://, etc.).