PlatformWebViewEnvironmentMethod enum
List of PlatformWebViewEnvironment's methods that can be used to check if they are supported or not by the current platform.
Values
- compareBrowserVersions → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.compareBrowserVersions method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - CompareBrowserVersions)
Parameters - Officially Supported Platforms/Implementations:
version1: all platformsversion2: all platforms
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- create → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.create method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - CreateCoreWebView2EnvironmentWithOptions)
- Linux WPE WebKit (Official API - WebKitWebContext):
- Creates a new WebKitWebContext for shared WebView configuration.
Parameters - Officially Supported Platforms/Implementations:
settings: all platforms
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- dispose → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2
- Linux WPE WebKit
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- getAvailableVersion → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.getAvailableVersion method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - GetAvailableCoreWebView2BrowserVersionString)
- Linux WPE WebKit (Official API - webkit_get_major_version):
- Returns WPE WebKit version string composed of major.minor.micro versions.
Parameters - Officially Supported Platforms/Implementations:
browserExecutableFolder: all platforms
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- getCacheModel → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.getCacheModel method is supported at runtime.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_get_cache_model)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- getFailureReportFolderPath → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.getFailureReportFolderPath method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 1.0.1518.46++ (Official API - ICoreWebView2Environment11.get_FailureReportFolderPath)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- getProcessInfos → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.getProcessInfos method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 1.0.1108.44++ (Official API - ICoreWebView2Environment8.GetProcessInfos)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- getSpellCheckingLanguages → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.getSpellCheckingLanguages method is supported at runtime.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_get_spell_checking_languages)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- isAutomationAllowed → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.isAutomationAllowed method is supported at runtime.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_is_automation_allowed)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- isInterfaceSupported → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.isInterfaceSupported method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2
Parameters - Officially Supported Platforms/Implementations:
interface: all platforms
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
- isSpellCheckingEnabled → const PlatformWebViewEnvironmentMethod
-
Can be used to check if the PlatformWebViewEnvironment.isSpellCheckingEnabled method is supported at runtime.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_get_spell_checking_enabled)
Use the PlatformWebViewEnvironment.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<
PlatformWebViewEnvironmentMethod> - A constant List of the values in this enum, in order of their declaration.