data class DefaultSettings : Settings
(source)
Settings implementation used to set defaults for Engine and EngineSession.
DefaultSettings(javascriptEnabled: Boolean = true, domStorageEnabled: Boolean = true, webFontsEnabled: Boolean = true, mediaPlaybackRequiresUserGesture: Boolean = true, trackingProtectionPolicy: TrackingProtectionPolicy? = null, requestInterceptor: RequestInterceptor? = null, userAgentString: String? = null, javaScriptCanOpenWindowsAutomatically: Boolean = false, displayZoomControls: Boolean = true, loadWithOverviewMode: Boolean = false, allowFileAccess: Boolean = true, allowFileAccessFromFileURLs: Boolean = false, allowUniversalAccessFromFileURLs: Boolean = false, allowContentAccess: Boolean = true, verticalScrollBarEnabled: Boolean = true, horizontalScrollBarEnabled: Boolean = true, remoteDebuggingEnabled: Boolean = false)
Settings implementation used to set defaults for Engine and EngineSession. |
var allowContentAccess: Boolean
Setting to control whether or not the engine is allowed to load content from a content provider installed in the system. |
|
var allowFileAccess: Boolean
Setting to control whether or not file access is allowed. |
|
var allowFileAccessFromFileURLs: Boolean
Setting to control whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from other file scheme URLs. |
|
var allowUniversalAccessFromFileURLs: Boolean
Setting to control whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. |
|
var displayZoomControls: Boolean
Setting to control whether or not zoom controls should be displayed. |
|
var domStorageEnabled: Boolean
Setting to control whether or not DOM Storage is enabled. |
|
var horizontalScrollBarEnabled: Boolean
Setting to control whether or not horizontal scrolling is enabled. |
|
var javaScriptCanOpenWindowsAutomatically: Boolean
Setting to control whether or not window.open can be called from JavaScript. |
|
var javascriptEnabled: Boolean
Setting to control whether or not JavaScript is enabled. |
|
var loadWithOverviewMode: Boolean
Setting to control whether or not the engine zooms out the content to fit on screen by width. |
|
var mediaPlaybackRequiresUserGesture: Boolean
Setting to control whether or not a user gesture is required to play media. |
|
var remoteDebuggingEnabled: Boolean
Setting to control whether or not remote debugging is enabled. |
|
var requestInterceptor: RequestInterceptor?
Setting to intercept and override requests. |
|
var trackingProtectionPolicy: TrackingProtectionPolicy?
Setting to control tracking protection. |
|
var userAgentString: String?
Setting to control the user agent string. |
|
var verticalScrollBarEnabled: Boolean
Setting to control whether or not vertical scrolling is enabled. |
|
var webFontsEnabled: Boolean
Setting to control whether or not Web fonts are enabled. |