Packagecom.tuarua.webview
Classpublic class Settings
InheritanceSettings Inheritance Object



Public Properties
 PropertyDefined By
  android : AndroidSettings
Settings to use for Android version.
Settings
  cacheEnabled : Boolean = true
Enables browser cache.
Settings
  cef : CefSettings
Settings to use for CEF (Windows) version.
Settings
  contextMenu : ContextMenu
Sets whether a context menu will appear on right click.
Settings
  downloadPath : String
The path to automatically save downloads to.
Settings
  enableDownloads : Boolean = true
Sets whether downloads will be handled by the WebView.
Settings
  persistRequestHeaders : Boolean = false
Persists any headers which have been added to URLRequests across multiple requests (on the same domain).
Settings
  popup : Popup
Settings
  urlBlackList : Vector.<String>
Vector of urls to block example .pdf,.zip - This uses a simple string match.
Settings
  urlWhiteList : Vector.<String>
Vector of urls to allow through, example google.com - This uses a simple string match.
Settings
  useHiDPI : Boolean = true
Settings
  userAgent : String
Value that will be returned as the User-Agent HTTP header.
Settings
  useTransparentBackground : Boolean = false
Sets the container Window (HWND) of the webview to be transparent.
Settings
  webkit : WebkitSettings
Settings to use for WKWebView (OSX / iOS) version.
Settings
Public Methods
 MethodDefined By
  
Settings
Property Detail
androidproperty
public var android:AndroidSettings

Settings to use for Android version.

cacheEnabledproperty 
public var cacheEnabled:Boolean = true

Enables browser cache.

cefproperty 
public var cef:CefSettings

Settings to use for CEF (Windows) version.

contextMenuproperty 
public var contextMenu:ContextMenu

Sets whether a context menu will appear on right click. OSX and Windows only.

downloadPathproperty 
public var downloadPath:String

The path to automatically save downloads to. No user dialog is shown. OSX and Windows only.

enableDownloadsproperty 
public var enableDownloads:Boolean = true

Sets whether downloads will be handled by the WebView. OSX and Windows only.

persistRequestHeadersproperty 
public var persistRequestHeaders:Boolean = false

Persists any headers which have been added to URLRequests across multiple requests (on the same domain).

Windows, OSX, iOS only.

popupproperty 
public var popup:Popup

urlBlackListproperty 
public var urlBlackList:Vector.<String>

Vector of urls to block example .pdf,.zip - This uses a simple string match. There is no regex support.

urlWhiteListproperty 
public var urlWhiteList:Vector.<String>

Vector of urls to allow through, example google.com - This uses a simple string match. There is no regex support.

useHiDPIproperty 
public var useHiDPI:Boolean = true

userAgentproperty 
public var userAgent:String

Value that will be returned as the User-Agent HTTP header.

useTransparentBackgroundproperty 
public var useTransparentBackground:Boolean = false

Sets the container Window (HWND) of the webview to be transparent.

Important! some video cards don't support this and may cause view to be invisible - Windows 8.1+ only.

webkitproperty 
public var webkit:WebkitSettings

Settings to use for WKWebView (OSX / iOS) version.

Constructor Detail
Settings()Constructor
public function Settings()