Function

WindowInsets

A [DeviceConfigurationOverride] that overrides the window insets for the contained content.

WindowInsets

Android
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.