Platforms to show: All Mac Windows Linux Cross-Platform

Back to LinuxWebDataSourceMBS class.

LinuxWebDataSourceMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Creates a new WebKitWebDataSource instance.

The URL of the WebKitWebDataSource will be set to "about:blank".

See also:

LinuxWebDataSourceMBS.Constructor(request as LinuxWebNetworkRequestMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Creates a new data source with the given network request.

See also:

LinuxWebDataSourceMBS.Data as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns the raw data that represents the the frame's content.

The data will be incomplete until the data has finished loading. Returns "" if the web frame hasn't loaded any data. Use isLoading to test if data source is in the process of loading.

LinuxWebDataSourceMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
The destructor.

LinuxWebDataSourceMBS.Encoding as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns the text encoding name as set in the WebView, or if not, the text encoding of the response.

LinuxWebDataSourceMBS.InitialRequest as LinuxWebNetworkRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns a reference to the original request that was used to load the web content.

The NetworkRequest returned by this method is the request prior to the "committed" load state. See Request for getting the "committed" request.

LinuxWebDataSourceMBS.IsLoading as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Determines whether the data source is in the process of loading its content.

Returns true if loading or false if not.

LinuxWebDataSourceMBS.MainResource as LinuxWebResourceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns the main resource of the data source.

LinuxWebDataSourceMBS.Request as LinuxWebNetworkRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns a NetworkRequest that was used to create this DataSource.

The NetworkRequest returned by this method is the request that was "committed", and hence, different from the request you get from the InitialRequest method.

LinuxWebDataSourceMBS.Subresources as LinuxWebResourceMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Gives you a list of WebKitWebResource objects that compose the WebView to which this DataSource is attached.

LinuxWebDataSourceMBS.UnrechableURI as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Return the unreachable URI of data_source.

The data source will have an unreachable URL if it was created using WebFrame's LoadAlternateHtmlString method.

LinuxWebDataSourceMBS.WebFrame as LinuxWebFrameMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Linux MBS Linux Plugin 13.5 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Returns the WebFrame that represents this data source.

The WebFrame is owned by WebKit and should not be freed or destroyed.
This will return nil if the data_source is not attached to a frame.

The items on this page are in the following plugins: MBS Linux Plugin.


The biggest plugin in space...