PlatformContainerControllerMethod enum
List of PlatformContainerController's methods that can be used to check if they are supported or not by the current platform.
Values
- clearContainerData → const PlatformContainerControllerMethod
-
Can be used to check if the PlatformContainerController.clearContainerData method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - Profile.getCookieManager / getWebStorage)
- iOS WKWebView 17.0+ (Official API - WKWebsiteDataStore.removeData(ofTypes:modifiedSince:completionHandler:))
- macOS WKWebView 14.0+ (Official API - WKWebsiteDataStore.removeData(ofTypes:modifiedSince:completionHandler:))
- Windows WebView2 (Official API - CoreWebView2Environment userDataFolder)
- Linux WPE WebKit (Official API - WebKitWebsiteDataManager persistent directories)
Parameters - Officially Supported Platforms/Implementations:
containerId: all platforms
Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.
- deleteContainer → const PlatformContainerControllerMethod
-
Can be used to check if the PlatformContainerController.deleteContainer method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - ProfileStore.deleteProfile)
- iOS WKWebView 17.0+ (Official API - WKWebsiteDataStore.removeDataStoreForIdentifier)
- macOS WKWebView 14.0+ (Official API - WKWebsiteDataStore.remove(forIdentifier:))
- Windows WebView2 (Official API - CoreWebView2Environment userDataFolder)
- Linux WPE WebKit (Official API - WebKitWebsiteDataManager persistent directories)
Parameters - Officially Supported Platforms/Implementations:
containerId: all platforms
Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.
- getAllContainerNames → const PlatformContainerControllerMethod
-
Can be used to check if the PlatformContainerController.getAllContainerNames method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - ProfileStore.getAllProfileNames)
- iOS WKWebView 17.0+ (Official API - WKWebsiteDataStore.fetchAllDataStoreIdentifiers)
- macOS WKWebView 14.0+ (Official API - WKWebsiteDataStore.fetchAllDataStoreIdentifiers)
- Windows WebView2 (Official API - CoreWebView2Environment userDataFolder)
- Linux WPE WebKit (Official API - WebKitWebsiteDataManager persistent directories)
Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.
- hasContainer → const PlatformContainerControllerMethod
-
Can be used to check if the PlatformContainerController.hasContainer method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - ProfileStore.getProfile)
- iOS WKWebView 17.0+ (Official API - WKWebsiteDataStore.fetchAllDataStoreIdentifiers)
- macOS WKWebView 14.0+ (Official API - WKWebsiteDataStore.fetchAllDataStoreIdentifiers)
- Windows WebView2 (Official API - CoreWebView2Environment userDataFolder)
- Linux WPE WebKit (Official API - WebKitWebsiteDataManager persistent directories)
Parameters - Officially Supported Platforms/Implementations:
containerId: all platforms
Use the PlatformContainerController.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<
PlatformContainerControllerMethod> - A constant List of the values in this enum, in order of their declaration.