Kwik Web View Settings
data class KwikWebViewSettings(var userAgent: String = "Kwik-Android-WebView", var cookies: List<KwikCookie> = emptyList(), var debug: Boolean = false, var javaScriptEnabled: Boolean = true, var domStorageEnabled: Boolean = true, var allowFileAccess: Boolean = true, var allowContentAccess: Boolean = true, var allowFileAccessFromFileURLs: Boolean = false, var allowUniversalAccessFromFileURLs: Boolean = false, var javaScriptCanOpenWindowsAutomatically: Boolean = true, var supportMultipleWindows: Boolean = true)
Settings for the KwikWebView.
Constructors
Link copied to clipboard
constructor(userAgent: String = "Kwik-Android-WebView", cookies: List<KwikCookie> = emptyList(), debug: Boolean = false, javaScriptEnabled: Boolean = true, domStorageEnabled: Boolean = true, allowFileAccess: Boolean = true, allowContentAccess: Boolean = true, allowFileAccessFromFileURLs: Boolean = false, allowUniversalAccessFromFileURLs: Boolean = false, javaScriptCanOpenWindowsAutomatically: Boolean = true, supportMultipleWindows: Boolean = true)
Properties
Link copied to clipboard
Whether to allow content access in the WebView, default is true.
Link copied to clipboard
Whether to allow file access in the WebView, default is true.
Link copied to clipboard
Whether to allow file access from file URLs, default is false.
Link copied to clipboard
Whether to allow universal access from file URLs, default is false.
Link copied to clipboard
A list of KwikCookie objects to be set as cookies in the WebView.
Link copied to clipboard
Whether to enable DOM storage in the WebView, default is true.
Link copied to clipboard
Whether to allow JavaScript to open windows automatically, default is true.
Link copied to clipboard
Whether to enable JavaScript in the WebView, default is true.
Link copied to clipboard
Whether to support multiple windows in the WebView, default is true.