Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

[string or double] storage_quota

Sets the total size (in bytes) allotted to all local storage applications (including IndexedDB). A BrightScript integer is only guaranteed to be able to represent a count of bytes up to 2GB so avoid using integers when calculating the size: Use float or double instead since they can represent values over 2GB (string can also be used but is not recommended). If the storage path is specified without a storage quota, Chromium defaults to reserving 1GB plus 10% of the total size of the storage device.

[roMessagePort] port

Configures the message port to which the roHtmlWidget instance will send events. When using initialization parameters, the port parameter should be used instead of the SetPort() method to ensure the script can catch load-startedload-finished, and load-error events.

...

EnableSecurity(enable As Dynamic) As Boolean 
Anchor
enablesecurity()
enablesecurity()

Deprecated. Use EnableSecurity() security_params in initialization parameters instead.

EnableMouseEvents(enable As Boolean) As Boolean

Deprecated. Use EnableMouseEvents() mouse_enabled in initialization parameters instead.

SetPortrait(portrait_mode As Boolean) As Boolean

Deprecated. Use the SetTransform() methodUse transform in initialization parameters instead.

...

EnableScrollbars(scrollbars As Boolean) As Boolean

Deprecated. Use the EnableScrollbars() method in Use scrollbar_enabled in initialization parameters instead.

AddFont(filename As String) As Boolean

Deprecated. Use the AddFont() method in Use fonts in initialization parameters instead.

SetPcmAudioOutputs(outputs As roArray) As Boolean

Deprecated. Use the SetPcmAudioOutputs() method in Use pcm_audio_outputs in initialization parameters instead.

SetCompressedAudioOutputs(outputs As roArray) As Boolean

Deprecated. Use the SetCompressedAudioOutputs() methodUse compressed_audio_outputs in initialization parameters instead.

Note
titleNote

When one or more audio-output methods are called, they will override the settings of the following ifAudioControl methods: SetAudioOutput(), MapStereoOutput(), SetUsbAudioPort(), MapDigitalOutput(). Calls to HTML audio-output methods will only take effect with subsequent calls to SetUrl(). Audio-output settings on an roHtmlWidget instance will be overwritten by equivalent settings in the HTML.

SetMultichannelAudioOutputs(outputs As roArray) As Boolean

Deprecated. Use the SetMultichannelAudioOutputs()method in Use multi_channel_audio_outputs in initialization parameters instead. 

SetHWZDefault(default As String) As Void 
Anchor
sethwzdefault()
sethwzdefault()

Deprecated. Use the SetHWZDefault() methodUse hwz_default in initialization parameters instead.

...

ForceGpuRasterization(enable As Boolean) As Boolean

This method has been deprecatedDeprecated. As of OS8, GPU rasterization is enabled by default and calling this method has no effect.

EnableCanvas2dAcceleration(enable As Boolean) As Boolean

This setting has been deprecated. As of OS8, Canvas acceleration is enabled by default and can be disabled by passing false to this methodDeprecated. Use canvas_2d_acceleration_enabled in initialization parameters instead.

SetUserStylesheet(URI As String) As Boolean 
Anchor
setuserstylesheet()
setuserstylesheet()

Deprecated. Use the SetUserStylesheet() method in Use user_stylesheet in initialization parameters instead.

...

EnableJavaScript(enable As Boolean) As Boolean

Deprecated. Use the EnableJavaScript() methodjavascript_enabled in initialization parameters instead.

AllowJavaScriptURLs(url_collection As roAssociativeArray)

Deprecated. Use the AllowJavaScriptURLs() method in initialization parameters instead  If javascript_enabled is set to true in the initialization parameters, JavaScript objects are enabled for all sites.

PostJSMessage(data As roAssociativeArray) As Boolean

...


StartInspectorServer(port As Integer) As Boolean

Deprecated. Use the StartInspectorServer() method in Use inspector_server in initialization parameters instead.

SetUserAgent(user_agent As String) As Boolean

Deprecated. Use the SetUser/Agent() method in Use user_agent in initialization parameters instead.

...

SetUserAgentSuffix(suffix As String) As Boolean

Deprecated. Use the SetUserAgentSuffix() method in Use user_agent in initialization parameters instead.

...

Allows the user to set up one or more proxies. If proxy pac files are included, this method must be used to specify authentication parameters.

ifMessagePort

SetPort(port As roMessagePort)

...