PlatformFindInteractionControllerMethod enum
List of PlatformFindInteractionController's methods that can be used to check if they are supported or not by the current platform.
Values
- clearMatches → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.clearMatches method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.clearMatches)
- iOS WKWebView:
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it uses the built-in find interaction native UI, otherwise this is implemented using CSS and Javascript. In this case, it will use the Official API - UIFindInteraction.dismissFindNavigator
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search_finish)
- Windows WebView2 (Official API - ICoreWebView2Find.Stop)
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
-
Can be used to check if the PlatformFindInteractionController.dismissFindNavigator method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.dismissFindNavigator):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- iOS WKWebView (Official API - UIFindInteraction.dismissFindNavigator):
- dispose → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Linux WPE WebKit
- Windows WebView2
Parameters - Officially Supported Platforms/Implementations:
isKeepAlive: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- findAll → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.findAll method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.findAllAsync):
- It finds all instances asynchronously. Successive calls to this will cancel any pending searches.
- iOS WKWebView:
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it uses the built-in find interaction native UI, otherwise this is implemented using CSS and Javascript. In this case, it will use the Official API - UIFindInteraction.presentFindNavigator with Official API - UIFindInteraction.searchText
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search)
- Windows WebView2 (Official API - ICoreWebView2Find.Start)
Parameters - Officially Supported Platforms/Implementations:
find: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- Android WebView (Official API - WebView.findAllAsync):
- findNext → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.findNext method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.findNext)
- iOS WKWebView:
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it uses the built-in find interaction native UI, otherwise this is implemented using CSS and Javascript. In this case, it will use the Official API - UIFindInteraction.findNext and (Official API - UIFindInteraction.findPrevious
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search_next)
- Windows WebView2 (Official API - ICoreWebView2Find.FindNext/FindPrevious)
Parameters - Officially Supported Platforms/Implementations:
forward: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- getActiveFindSession → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.getActiveFindSession method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - UIFindInteraction.activeFindSession)
- macOS WKWebView
- Linux WPE WebKit (Official API - WebKitFindController)
- Windows WebView2 (Official API - ICoreWebView2Find)
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- getSearchText → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.getSearchText method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - UIFindInteraction.getSearchText):
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it will get the system find panel's search text field value.
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_get_search_text)
- Windows WebView2
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
-
Can be used to check if the PlatformFindInteractionController.isFindNavigatorVisible method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.isFindNavigatorVisible):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- iOS WKWebView (Official API - UIFindInteraction.isFindNavigatorVisible):
-
Can be used to check if the PlatformFindInteractionController.presentFindNavigator method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.presentFindNavigator):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- iOS WKWebView (Official API - UIFindInteraction.presentFindNavigator):
- setFindOptions → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.setFindOptions method is supported at runtime.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2Environment15.CreateFindOptions)
Parameters - Officially Supported Platforms/Implementations:
options: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- setSearchText → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.setSearchText method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - UIFindInteraction.searchText):
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it will pre-populate the system find panel's search text field with a search query.
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search)
- Windows WebView2 (Official API - ICoreWebView2FindOptions.put_FindTerm)
Parameters - Officially Supported Platforms/Implementations:
searchText: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- updateResultCount → const PlatformFindInteractionControllerMethod
-
Can be used to check if the PlatformFindInteractionController.updateResultCount method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.updateResultCount):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
- iOS WKWebView (Official API - UIFindInteraction.updateResultCount):
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<
PlatformFindInteractionControllerMethod> - A constant List of the values in this enum, in order of their declaration.