[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [WebExtensionAction](../index.md) / [UpdateWebExtensionAllowedInPrivateBrowsingAction](./index.md)

# UpdateWebExtensionAllowedInPrivateBrowsingAction

`data class UpdateWebExtensionAllowedInPrivateBrowsingAction : `[`WebExtensionAction`](../index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/action/BrowserAction.kt#L371)

Updates the [WebExtensionState.enabled](../../../mozilla.components.browser.state.state/-web-extension-state/enabled.md) flag.

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `UpdateWebExtensionAllowedInPrivateBrowsingAction(extensionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, allowed: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)`<br>Updates the [WebExtensionState.enabled](../../../mozilla.components.browser.state.state/-web-extension-state/enabled.md) flag. |

### Properties

| Name | Summary |
|---|---|
| [allowed](allowed.md) | `val allowed: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [extensionId](extension-id.md) | `val extensionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
