PlatformWebStorageManagerMethod enum
List of PlatformWebStorageManager's methods that can be used to check if they are supported or not by the current platform.
Values
- deleteAllData → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.deleteAllData method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.deleteAllData)
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- deleteOrigin → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.deleteOrigin method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.deleteOrigin)
Parameters - Officially Supported Platforms/Implementations:
origin: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- fetchDataRecords → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.fetchDataRecords method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView 9.0+ (Official API - WKWebsiteDataStore.fetchDataRecords)
- Linux WPE WebKit (Official API - webkit_website_data_manager_fetch)
- macOS WKWebView (Official API - WKWebsiteDataStore.fetchDataRecords)
Parameters - Officially Supported Platforms/Implementations:
dataTypes: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- getOrigins → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.getOrigins method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.getOrigins)
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- getQuotaForOrigin → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.getQuotaForOrigin method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.getQuotaForOrigin)
Parameters - Officially Supported Platforms/Implementations:
origin: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- getUsageForOrigin → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.getUsageForOrigin method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.getUsageForOrigin)
Parameters - Officially Supported Platforms/Implementations:
origin: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- removeDataFor → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.removeDataFor method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView 9.0+ (Official API - WKWebsiteDataStore.removeData)
- Linux WPE WebKit (Official API - webkit_website_data_manager_remove)
- macOS WKWebView (Official API - WKWebsiteDataStore.removeData)
Parameters - Officially Supported Platforms/Implementations:
dataTypes: all platformsdataRecords: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
- removeDataModifiedSince → const PlatformWebStorageManagerMethod
-
Can be used to check if the PlatformWebStorageManager.removeDataModifiedSince method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView 9.0+ (Official API - WKWebsiteDataStore.removeData)
- Linux WPE WebKit (Official API - webkit_website_data_manager_clear)
- macOS WKWebView (Official API - WKWebsiteDataStore.removeData)
Parameters - Officially Supported Platforms/Implementations:
dataTypes: all platformsdate: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PlatformWebStorageManagerMethod> - A constant List of the values in this enum, in order of their declaration.