WebKitWebViewDataManager class
Clears website data stored by WKWebView.
- Inheritance
-
- Object
- PlatformInterface
- WebKitWebViewDataManager
Constructors
- WebKitWebViewDataManager(PlatformWebViewDataManagerCreationParams params)
- Creates a WebKit website data manager.
- WebKitWebViewDataManager.forController(PlatformWebView controller)
- Uses the actual store configured on this WebView, including private stores.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- params → PlatformWebViewDataManagerCreationParams
-
The parameters used to create this manager.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearAllWebsiteData(
) → Future< WebViewDataClearingResult> - Clears website data from the store selected by this manager.
-
clearDataCategories(
Set< WebViewDataType> dataTypes, Map<WebViewDataType, Future< operations) → Future<void> Function()>WebViewDataClearingResult> -
Executes independent native category operations and records each outcome.
inherited
-
clearScopedData(
WebViewDataTarget target, Set< WebViewDataType> requestedDataTypes, Future<void> clear(Set<WebViewDataType> )) → Future<WebViewDataClearingResult> -
inherited
-
clearWebsiteData(
{required Set< WebViewDataType> dataTypes}) → Future<WebViewDataClearingResult> - Clears exactly the requested categories in this manager's store. Unsupported combinations are reported without broadening the operation.
-
clearWebsiteDataFor(
WebViewDataTarget target, {required Set< WebViewDataType> dataTypes}) → Future<WebViewDataClearingResult> -
getCapabilities(
) → Future< WebViewDataCapabilities> - Groups the engine can clear without affecting unrequested categories.
-
getWebsiteDataRecords(
{WebViewDataTarget? target, Set< WebViewDataType> dataTypes = const {...WebViewDataType.values}}) → Future<List< WebViewDataRecord> ?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readNativeDataRecords(
WebViewDataTarget? target, Set< WebViewDataType> types, Future<List< read()) → Future<Object?> ?>List< WebViewDataRecord> ?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited