# TrustedWebActivityDisplayMode.WindowControlsOverlayMode

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/trusted/TrustedWebActivityDisplayMode.java+class:androidx.browser.trusted.TrustedWebActivityDisplayMode.WindowControlsOverlayMode) Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/browser#1.10.0)

*** ** * ** ***


```
class TrustedWebActivityDisplayMode.WindowControlsOverlayMode : TrustedWebActivityDisplayMode
```

<br />

*** ** * ** ***

Window controls overlay mode: Experimental display mode where the entire window surface is be available for the app's web content. System controls (maximize, minimize, close, etc) will be displayed as overlays on top of the web contents. This is not the same as immersive mode because the web activity can be in a free-floating window with window controls overlay enabled. In immersive mode, the web activity will occupy the entire screen. {@see https://github.com/WICG/window-controls-overlay/blob/main/explainer.md} {@see https://wicg.github.io/window-controls-overlay/}

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode.WindowControlsOverlayMode#WindowControlsOverlayMode()()` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/android/os/Bundle.html` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode.WindowControlsOverlayMode#toBundle()()` Packs the object into a `https://developer.android.com/reference/android/os/Bundle.html`. |

| ### Inherited Constants |
|---|
| From [androidx.browser.trusted.TrustedWebActivityDisplayMode](https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode) |---|---| | `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode#KEY_ID() = "androidx.browser.trusted.displaymode.KEY_ID"` Bundle key for the integer identifying the mode. | |

| ### Inherited functions |
|---|
| From [androidx.browser.trusted.TrustedWebActivityDisplayMode](https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode) |---|---| | `java-static https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode` | `https://developer.android.com/reference/kotlin/androidx/browser/trusted/TrustedWebActivityDisplayMode#fromBundle(android.os.Bundle)(bundle: https://developer.android.com/reference/android/os/Bundle.html)` Unpacks the object from a `https://developer.android.com/reference/android/os/Bundle.html`. | |

## Public constructors

### WindowControlsOverlayMode

Added in 1.10.0

```
WindowControlsOverlayMode()
```

## Public functions

### toBundle

```
fun toBundle(): Bundle
```

Packs the object into a `https://developer.android.com/reference/android/os/Bundle.html`.