<div class='type'>Function</div>


<a id='references'></a>


<h2 id="navigation-ishidden">Navigation</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
fun DeviceConfigurationOverride.Companion.Navigation(
    @NavigationType navigationType: Int,
    isHidden: Boolean = false,
): DeviceConfigurationOverride
```


A `DeviceConfigurationOverride` that overrides the current navigation type and whether it is
hidden.

#### Parameters

| | |
| --- | --- |
| navigationType | the navigation type to render the content under test in. This should be one of the `Configuration.NAVIGATION_*` values. |
| isHidden | if `true`, render the content under test with hidden navigation. |


#### Returns

| | |
| --- | --- |
|  | a `DeviceConfigurationOverride` that specifies the navigation type for the content under test. |