# FeatureFlagHolderBoundaryInterface

# FeatureFlagHolderBoundaryInterface

<br />

```
interface FeatureFlagHolderBoundaryInterface
```

<br />

Known direct subclasses  
[ServiceWorkerClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface),[WebMessageBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageBoundaryInterface),[WebMessageCallbackBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface),[WebMessageListenerBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface),[WebViewClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface),[WebViewRendererClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface)  

|------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|
| [ServiceWorkerClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface)     | Boundary interface for ServiceWorkerClient.                             |
| [WebMessageBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageBoundaryInterface)                       | Boundary interface for WebMessage.                                      |
| [WebMessageCallbackBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface)       | Boundary interface for WebMessagePort.WebMessageCallback.               |
| [WebMessageListenerBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface)       | Boundary interface for org.chromium.android_webview.WebMessageListener. |
| [WebViewClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface)                 | Boundary interface for WebViewClientCompat.                             |
| [WebViewRendererClientBoundaryInterface](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface) | Boundary interface for WebViewRendererClient.                           |

Known indirect subclasses  
[WebViewClientCompat](https://developer.android.com/reference/androidx/webkit/WebViewClientCompat)  

|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| [WebViewClientCompat](https://developer.android.com/reference/androidx/webkit/WebViewClientCompat) | Compatibility version of[android.webkit.WebViewClient](https://developer.android.com/reference/android/webkit/WebViewClient.html). |

*** ** * ** ***

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](https://developer.android.com/reference/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](https://developer.android.com/reference/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface#getSupportedFeatures())).

## Summary

|                                                                                                                                                                              ### Public methods                                                                                                                                                                              ||
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract String[]` | [getSupportedFeatures](https://developer.android.com/reference/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface#getSupportedFeatures())`()` Indicate the list of[org.chromium.support_lib_boundary.util.Features](https://developer.android.com/reference/org/chromium/support_lib_boundary/util/Features)supported by this object. |

## Public methods

### getSupportedFeatures

```
abstract String[] getSupportedFeatures()
```

Indicate the list of[org.chromium.support_lib_boundary.util.Features](https://developer.android.com/reference/org/chromium/support_lib_boundary/util/Features)supported by this object.  

|               Returns               ||
|------------|-------------------------|
| `String[]` | The supported features. |