Packagecom.distriqt.extension.nativewebview.platform
Classpublic class WindowsOptions
InheritanceWindowsOptions Inheritance Object

Defines initialisation options specific for the windows platform



Public Properties
 PropertyDefined By
  cachePath : String
WindowsOptions
  commandLineArgKeys : Array
WindowsOptions
  commandLineArgValues : Array
WindowsOptions
  persistSessionCookies : Boolean = false
WindowsOptions
  remoteDebuggingPort : int = -1
WindowsOptions
Public Methods
 MethodDefined By
  
WindowsOptions
  
addCommandLineArg(name:String, value:String):WindowsOptions
Add a command line argument for configuring the underlying browser process For example, to disable the underlying mDNS: options.addCommandLineArg( "disable-features", "WebRtcHideLocalIpsWithMdns" );
WindowsOptions
  
The location where cache data will be stored on disk.
WindowsOptions
  
setPersistSessionCookies(persistSessionCookies:Boolean):WindowsOptions
To persist session cookies (cookies without an expiry date or validity interval) by default when using the global cookie manager set this value to true.
WindowsOptions
  
setRemoteDebuggingPort(remoteDebuggingPort:int):WindowsOptions
Set to a value between 1024 and 65535 to enable remote debugging on the specified port.
WindowsOptions
Property Detail
cachePathproperty
public var cachePath:String

See also

commandLineArgKeysproperty 
public var commandLineArgKeys:Array

commandLineArgValuesproperty 
public var commandLineArgValues:Array

persistSessionCookiesproperty 
public var persistSessionCookies:Boolean = false

See also

remoteDebuggingPortproperty 
public var remoteDebuggingPort:int = -1

See also

Constructor Detail
WindowsOptions()Constructor
public function WindowsOptions()



Method Detail
addCommandLineArg()method
public function addCommandLineArg(name:String, value:String):WindowsOptions

Add a command line argument for configuring the underlying browser process For example, to disable the underlying mDNS:

         options.addCommandLineArg( "disable-features", "WebRtcHideLocalIpsWithMdns" );
         

Parameters

name:String
 
value:String

Returns
WindowsOptionsWindowsOptions instance for chaining calls
setCachePath()method 
public function setCachePath(path:String):WindowsOptions

The location where cache data will be stored on disk. If empty then browsers will be created in "incognito mode" where in-memory caches are used for storage and no data is persisted to disk. HTML5 databases such as localStorage will only persist across sessions if a cache path is specified. The default is set to a folder in the File.applicationStorageDirectory

Parameters

path:String — The native path to a directory to use for cache data

Returns
WindowsOptionsWindowsOptions instance for chaining calls
setPersistSessionCookies()method 
public function setPersistSessionCookies(persistSessionCookies:Boolean):WindowsOptions

To persist session cookies (cookies without an expiry date or validity interval) by default when using the global cookie manager set this value to true. Session cookies are generally intended to be transient and most Web browsers do not persist them. A cachePath value must also be specified to enable this feature.

Parameters

persistSessionCookies:Boolean

Returns
WindowsOptionsWindowsOptions instance for chaining calls
setRemoteDebuggingPort()method 
public function setRemoteDebuggingPort(remoteDebuggingPort:int):WindowsOptions

Set to a value between 1024 and 65535 to enable remote debugging on the specified port. For example, if 8080 is specified the remote debugging URL will be http://localhost:8080. CEF can be remotely debugged from any CEF or Chrome browser window.

Parameters

remoteDebuggingPort:int

Returns
WindowsOptionsWindowsOptions instance for chaining calls