Stay organized with collections
Save and categorize content based on your preferences.
FeatureFlagHolderBoundaryInterface
interface FeatureFlagHolderBoundaryInterface
Known indirect subclasses
Boundary interface to be implemented by any type which is constructed on the support library side (such as callback classes). This interface is a way for the instance to declare which org.chromium.support_lib_boundary.util.Features
it supports (this may vary between instances if the app uses multiple versions of the support library). This need only be implemented by objects created on the support library side, since we know any objects created on the chromium side have the same feature list as the WebView APK itself (as returned by getSupportedFeatures
).
Summary
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# FeatureFlagHolderBoundaryInterface\n==================================\n\n\n```\ninterface FeatureFlagHolderBoundaryInterface\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ServiceWorkerClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface), [WebMessageBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageBoundaryInterface), [WebMessageCallbackBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface), [WebMessageListenerBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface), [WebViewClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface), [WebViewRendererClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface) \n\n|--------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [ServiceWorkerClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface) | Boundary interface for ServiceWorkerClient. |\n| [WebMessageBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageBoundaryInterface) | Boundary interface for WebMessage. |\n| [WebMessageCallbackBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface) | Boundary interface for WebMessagePort.WebMessageCallback. |\n| [WebMessageListenerBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface) | Boundary interface for org.chromium.android_webview.WebMessageListener. |\n| [WebViewClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface) | Boundary interface for WebViewClientCompat. |\n| [WebViewRendererClientBoundaryInterface](/reference/kotlin/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface) | Boundary interface for WebViewRendererClient. |\n\nKnown indirect subclasses \n[WebViewClientCompat](/reference/kotlin/androidx/webkit/WebViewClientCompat) \n\n|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [WebViewClientCompat](/reference/kotlin/androidx/webkit/WebViewClientCompat) | Compatibility version of [android.webkit.WebViewClient](https://developer.android.com/reference/android/webkit/WebViewClient.html). |\n\n*** ** * ** ***\n\nBoundary interface to be implemented by any type which is constructed on the support library side (such as callback classes). This interface is a way for the instance to declare which [org.chromium.support_lib_boundary.util.Features](/reference/kotlin/org/chromium/support_lib_boundary/util/Features) it supports (this may vary between instances if the app uses multiple versions of the support library). This need only be implemented by objects created on the support library side, since we know any objects created on the chromium side have the same feature list as the WebView APK itself (as returned by [getSupportedFeatures](/reference/kotlin/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface#getSupportedFeatures())).\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?\u003e?` | [getSupportedFeatures](/reference/kotlin/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface#getSupportedFeatures())`()` Indicate the list of [org.chromium.support_lib_boundary.util.Features](/reference/kotlin/org/chromium/support_lib_boundary/util/Features) supported by this object. |\n\nPublic functions\n----------------\n\n### getSupportedFeatures\n\n```\nfun getSupportedFeatures(): Array\u003cString?\u003e?\n```\n\nIndicate the list of [org.chromium.support_lib_boundary.util.Features](/reference/kotlin/org/chromium/support_lib_boundary/util/Features) supported by this object. \n\n| Returns ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|\n| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?\u003e?` | The supported features. |"]]