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

# &lt;init&gt;

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

Enables/disables desktop mode in the tabs with the given [sessionId](session-id.md).

