AndroidWebViewFeature class

Class that represents an Android-specific utility class for checking which WebView Support Library features are supported on the device. Use WebViewFeature instead.

Annotations

Properties

hashCode int
The hash code for this object.
no setteroverride
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
toNativeValue() String
Gets String native value.
toString() String
A string representation of this object.
override
toValue() String
Gets String value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<AndroidWebViewFeature>
Set of all values of AndroidWebViewFeature.
final

Static Methods

fromNativeValue(String? value) AndroidWebViewFeature?
Gets a possible AndroidWebViewFeature instance from a native value.
fromValue(String? value) AndroidWebViewFeature?
Gets a possible AndroidWebViewFeature instance from String value.
isFeatureSupported(AndroidWebViewFeature feature) Future<bool>
Return whether a feature is supported at run-time. On devices running Android version Build.VERSION_CODES.LOLLIPOP and higher, this will check whether a feature is supported, depending on the combination of the desired feature, the Android version of device, and the WebView APK on the device. If running on a device with a lower API level, this will always return false.

Constants

ALGORITHMIC_DARKENING → const AndroidWebViewFeature
Feature for isFeatureSupported. This feature covers InAppWebViewSettings.algorithmicDarkeningAllowed.
CREATE_WEB_MESSAGE_CHANNEL → const AndroidWebViewFeature
DISABLED_ACTION_MODE_MENU_ITEMS → const AndroidWebViewFeature
DOCUMENT_START_SCRIPT → const AndroidWebViewFeature
Feature for isFeatureSupported. This feature covers UserScriptInjectionTime.AT_DOCUMENT_START.
Feature for isFeatureSupported. This feature covers InAppWebViewSettings.enterpriseAuthenticationAppLinkPolicyEnabled.
FORCE_DARK → const AndroidWebViewFeature
FORCE_DARK_STRATEGY → const AndroidWebViewFeature
GET_WEB_CHROME_CLIENT → const AndroidWebViewFeature
GET_WEB_VIEW_CLIENT → const AndroidWebViewFeature
GET_WEB_VIEW_RENDERER → const AndroidWebViewFeature
MULTI_PROCESS → const AndroidWebViewFeature
OFF_SCREEN_PRERASTER → const AndroidWebViewFeature
POST_WEB_MESSAGE → const AndroidWebViewFeature
PROXY_OVERRIDE → const AndroidWebViewFeature
RECEIVE_HTTP_ERROR → const AndroidWebViewFeature
RECEIVE_WEB_RESOURCE_ERROR → const AndroidWebViewFeature
REQUESTED_WITH_HEADER_CONTROL → const AndroidWebViewFeature
Feature for isFeatureSupported. This feature covers InAppWebViewSettings.requestedWithHeaderMode.
SAFE_BROWSING_ALLOWLIST → const AndroidWebViewFeature
SAFE_BROWSING_ENABLE → const AndroidWebViewFeature
SAFE_BROWSING_HIT → const AndroidWebViewFeature
SAFE_BROWSING_PRIVACY_POLICY_URL → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_BACK_TO_SAFETY → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_PROCEED → const AndroidWebViewFeature
SAFE_BROWSING_RESPONSE_SHOW_INTERSTITIAL → const AndroidWebViewFeature
SAFE_BROWSING_WHITELIST → const AndroidWebViewFeature
Use SAFE_BROWSING_ALLOWLIST instead.
SERVICE_WORKER_BASIC_USAGE → const AndroidWebViewFeature
SERVICE_WORKER_BLOCK_NETWORK_LOADS → const AndroidWebViewFeature
SERVICE_WORKER_CACHE_MODE → const AndroidWebViewFeature
SERVICE_WORKER_CONTENT_ACCESS → const AndroidWebViewFeature
SERVICE_WORKER_FILE_ACCESS → const AndroidWebViewFeature
SERVICE_WORKER_SHOULD_INTERCEPT_REQUEST → const AndroidWebViewFeature
SHOULD_OVERRIDE_WITH_REDIRECTS → const AndroidWebViewFeature
START_SAFE_BROWSING → const AndroidWebViewFeature
SUPPRESS_ERROR_PAGE → const AndroidWebViewFeature
Feature for isFeatureSupported. This feature covers InAppWebViewSettings.willSuppressErrorPage.
TRACING_CONTROLLER_BASIC_USAGE → const AndroidWebViewFeature
VISUAL_STATE_CALLBACK → const AndroidWebViewFeature
WEB_MESSAGE_CALLBACK_ON_MESSAGE → const AndroidWebViewFeature
WEB_MESSAGE_LISTENER → const AndroidWebViewFeature
WEB_MESSAGE_PORT_CLOSE → const AndroidWebViewFeature
WEB_MESSAGE_PORT_POST_MESSAGE → const AndroidWebViewFeature
WEB_MESSAGE_PORT_SET_MESSAGE_CALLBACK → const AndroidWebViewFeature
WEB_RESOURCE_ERROR_GET_CODE → const AndroidWebViewFeature
WEB_RESOURCE_ERROR_GET_DESCRIPTION → const AndroidWebViewFeature
WEB_RESOURCE_REQUEST_IS_REDIRECT → const AndroidWebViewFeature
WEB_VIEW_RENDERER_CLIENT_BASIC_USAGE → const AndroidWebViewFeature
WEB_VIEW_RENDERER_TERMINATE → const AndroidWebViewFeature