index.md 1.4 KB
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [WebExtensionAction](../index.md) / [UpdateWebExtensionAllowedInPrivateBrowsingAction](./index.md)

# UpdateWebExtensionAllowedInPrivateBrowsingAction

MickeyMoz's avatar
MickeyMoz committed
5
`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#L365)
MickeyMoz's avatar
MickeyMoz committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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) |