[android-components](../index.md) / [mozilla.components.support.ktx.android.view](index.md) / [enterToImmersiveMode](./enter-to-immersive-mode.md)

# enterToImmersiveMode

`fun <ERROR CLASS>.enterToImmersiveMode(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/ktx/src/main/java/mozilla/components/support/ktx/android/view/Activity.kt#L16)

Attempts to call immersive mode using the View to hide the status bar and navigation buttons.

