WebsiteData

class WebsiteData(pointer: <Error class: unknown class><<Error class: unknown class>>)

Data stored locally by a web site.

WebKitWebsiteData represents data stored in the client by a particular website. A website is normally a set of URLs grouped by domain name. You can get the website name, which is usually the domain, with webkit_website_data_get_name(). Documents loaded from the file system, like file:// URIs, are all grouped in the same WebKitWebsiteData with the name "Local files".

A website can store different types of data in the client side. #WebKitWebsiteDataTypes is an enum containing all the possible data types; use webkit_website_data_get_types() to get the bitmask of data types. It's also possible to know the size of the data stored for some of the #WebKitWebsiteDataTypes by using webkit_website_data_get_size().

A list of WebKitWebsiteData can be retrieved with webkit_website_data_manager_fetch(). See #WebKitWebsiteDataManager for more information.

Since

2.16

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitWebsiteDataPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Gets the name of #WebKitWebsiteData.

Link copied to clipboard
fun getSize(types: WebsiteDataTypes): <Error class: unknown class>

Gets the size of the data of types @types in a #WebKitWebsiteData.

Link copied to clipboard

Gets the types of data stored in the client for a #WebKitWebsiteData.

Link copied to clipboard

Atomically increments the reference count of @website_data by one.

Link copied to clipboard
fun unref()

Atomically decrements the reference count of @website_data by one.