WebsiteDataManager
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.
Skipped during bindings generation
method
is-ephemeral
: Property has no getter nor settermethod
origin-storage-ratio
: Property has no getter nor settermethod
total-storage-ratio
: Property has no getter nor setter
Since
2.10
Constructors
Properties
Functions
Asynchronously clear the website data of the given @types modified in the past @timespan.
Finish an asynchronous operation started with webkit_website_data_manager_clear()
Asynchronously get the list of #WebKitWebsiteData for the given @types.
Finish an asynchronous operation started with webkit_website_data_manager_fetch().
Get the #WebKitFaviconDatabase of @manager.
Get whether website icons are enabled.
Asynchronously get the list of #WebKitITPThirdParty seen for @manager.
Finish an asynchronous operation started with webkit_website_data_manager_get_itp_summary().
Get whether a #WebKitWebsiteDataManager is ephemeral.
Asynchronously removes the website data in the given @website_data list.
Finish an asynchronous operation started with webkit_website_data_manager_remove().
Set whether website icons are enabled. Website icons are disabled by default. When website icons are disabled, the #WebKitFaviconDatabase of @manager is closed and its reference removed, so webkit_website_data_manager_get_favicon_database() will return null. If website icons are enabled again, a new #WebKitFaviconDatabase will be created.