[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [WebExtensionAction](../index.md) / [UpdateWebExtensionEnabledAction](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`UpdateWebExtensionEnabledAction(extensionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)`

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

