WebViewSettingsCustomizer

Interface for customizing the settings of a WebView. Implementations of this interface can modify the provided WebSettings object to enforce specific configurations or policies. This is mostly used to enable the security-risk WebSettings.setAllowFileAccess which can make HTML to PDF conversion work with HTML files on the device.

Functions

Link copied to clipboard
abstract fun customize(settings: WebSettings)

Customizes the provided WebSettings object.