abstract class Settings
(source)
Holds settings of an engine or session. Concrete engine implementations define how these settings are applied i.e. whether a setting is applied on an engine or session instance.
Settings()
Holds settings of an engine or session. Concrete engine implementations define how these settings are applied i.e. whether a setting is applied on an engine or session instance. |
open var allowContentAccess: Boolean
Setting to control whether or not the engine is allowed to load content from a content provider installed in the system. |
|
open var allowFileAccess: Boolean
Setting to control whether or not file access is allowed. |
|
open 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. |
|
open 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. |
|
open var displayZoomControls: Boolean
Setting to control whether or not zoom controls should be displayed. |
|
open var domStorageEnabled: Boolean
Setting to control whether or not DOM Storage is enabled. |
|
open var historyTrackingDelegate: HistoryTrackingDelegate?
Setting to provide a history delegate to the engine. |
|
open var horizontalScrollBarEnabled: Boolean
Setting to control whether or not horizontal scrolling is enabled. |
|
open var javaScriptCanOpenWindowsAutomatically: Boolean
Setting to control whether or not window.open can be called from JavaScript. |
|
open var javascriptEnabled: Boolean
Setting to control whether or not JavaScript is enabled. |
|
open var loadWithOverviewMode: Boolean
Setting to control whether or not the engine zooms out the content to fit on screen by width. |
|
open var mediaPlaybackRequiresUserGesture: Boolean
Setting to control whether or not a user gesture is required to play media. |
|
open var remoteDebuggingEnabled: Boolean
Setting to control whether or not remote debugging is enabled. |
|
open var requestInterceptor: RequestInterceptor?
Setting to intercept and override requests. |
|
open var supportMultipleWindows: Boolean
Setting to control whether or not multiple windows are supported. |
|
open var trackingProtectionPolicy: TrackingProtectionPolicy?
Setting to control tracking protection. |
|
open var userAgentString: String?
Setting to control the user agent string. |
|
open var verticalScrollBarEnabled: Boolean
Setting to control whether or not vertical scrolling is enabled. |
|
open var webFontsEnabled: Boolean
Setting to control whether or not Web fonts are enabled. |
data class DefaultSettings : Settings
Settings implementation used to set defaults for Engine and EngineSession. |