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


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


<h2 id="windowinsets-windowinsets">WindowInsets</h2>

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


```kotlin
fun DeviceConfigurationOverride.Companion.WindowInsets(
    windowInsets: WindowInsetsCompat
): DeviceConfigurationOverride
```


A `DeviceConfigurationOverride` that overrides the window insets for the contained content.

#### Parameters

| | |
| --- | --- |
| windowInsets | the `WindowInsetsCompat` to render the content under test in. |


#### Returns

| | |
| --- | --- |
|  | a `DeviceConfigurationOverride` that specifies the window insets for the content under test. |