Epub Remote Resource Options
data class EpubRemoteResourceOptions(val policyType: EpubRemoteResourcePolicyType = EpubRemoteResourcePolicyType.DENY_ALL, val whitelistDirectives: List<EpubRemoteResourceWhitelistDirective> = emptyList())
Options that defines if content-documents can load remote resources. What type of remote resources they can load, and from where these can be loaded.
Please note that you may need to specify directives in your app's Content-Security-Policy as a element or as a HTTP header as well since these are inherited by child iframes used for rendering content-documents.
Constructors
Link copied to clipboard
fun EpubRemoteResourceOptions(policyType: EpubRemoteResourcePolicyType = EpubRemoteResourcePolicyType.DENY_ALL, whitelistDirectives: List<EpubRemoteResourceWhitelistDirective> = emptyList())