Class
WPEWebKitWebsiteDataManager
Description [src]
final class WPEWebKit.WebsiteDataManager : GObject.Object {
/* No available fields */
}
Manages data stored locally by web sites.
You can use WebKitWebsiteDataManager to configure the local directories
where website data will be stored. Use WebKitWebsiteDataManager:base-data-directory
and WebKitWebsiteDataManager:base-cache-directory
set a common base directory for all
website data and caches.
A WebKitWebsiteDataManager can be ephemeral, in which case all the directory configuration is not needed because website data will never persist. You can create an ephemeral WebKitWebsiteDataManager with webkit_website_data_manager_new_ephemeral().
WebKitWebsiteDataManager can also be used to fetch website data, remove data stored by particular websites, or clear data for all websites modified since a given period of time.
Available since: | 2.10 |
Instance methods
webkit_website_data_manager_clear
Asynchronously clear the website data of the given types
modified in the past timespan
.
Available since: 2.16
webkit_website_data_manager_clear_finish
Finish an asynchronous operation started with webkit_website_data_manager_clear()
Available since: 2.16
webkit_website_data_manager_fetch
Asynchronously get the list of WebKitWebsiteData
for the given types
.
Available since: 2.16
webkit_website_data_manager_fetch_finish
Finish an asynchronous operation started with webkit_website_data_manager_fetch().
Available since: 2.16
webkit_website_data_manager_get_base_cache_directory
Get the WebKitWebsiteDataManager:base-cache-directory
property.
Available since: 2.10
webkit_website_data_manager_get_base_data_directory
Get the WebKitWebsiteDataManager:base-data-directory
property.
Available since: 2.10
webkit_website_data_manager_get_itp_summary
Asynchronously get the list of WebKitITPThirdParty
seen for manager
.
Available since: 2.30
webkit_website_data_manager_get_itp_summary_finish
Finish an asynchronous operation started with webkit_website_data_manager_get_itp_summary().
Available since: 2.30
webkit_website_data_manager_is_ephemeral
Get whether a WebKitWebsiteDataManager
is ephemeral.
Available since: 2.16
webkit_website_data_manager_remove
Asynchronously removes the website data in the given website_data
list.
Available since: 2.16
webkit_website_data_manager_remove_finish
Finish an asynchronous operation started with webkit_website_data_manager_remove().
Available since: 2.16
Properties
WPEWebKit.WebsiteDataManager:base-cache-directory
The base directory for caches. If NULL
, a default location will be used.
Available since: 2.10
WPEWebKit.WebsiteDataManager:base-data-directory
The base directory for website data. If NULL
, a default location will be used.
Available since: 2.10
WPEWebKit.WebsiteDataManager:is-ephemeral
Whether the WebKitWebsiteDataManager
is ephemeral. An ephemeral WebKitWebsiteDataManager
handles all websites data as non-persistent, and nothing will be written to the client
storage. Note that if you create an ephemeral WebKitWebsiteDataManager
all other construction
parameters to configure data directories will be ignored.
Available since: 2.16
WPEWebKit.WebsiteDataManager:origin-storage-ratio
The percentage of volume space that can be used for data storage for every domain. If the maximum storage is reached the storage request will fail with a QuotaExceededError exception. A value of 0.0 means that data storage is not allowed. A value of -1.0, which is the default, means WebKit will use the default quota (1 GiB).
Available since: 2.42
WPEWebKit.WebsiteDataManager:total-storage-ratio
The percentage of volume space that can be used for data storage for all domains. If the maximum storage is reached the eviction will happen. A value of 0.0 means that data storage is not allowed. A value of -1.0, which is the default, means there’s no limit for the total storage.
Available since: 2.42
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.