---
title: "captionBarIgnoringVisibility"
description: "The insets that the [WindowInsetsCompat.Type.captionBar] will consume if shown. If it cannot be
shown then this will be empty."
type: "property"
---

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


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

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


```kotlin
@ExperimentalLayoutApi
val WindowInsets.Companion.captionBarIgnoringVisibility: WindowInsets
```


The insets that the `WindowInsetsCompat.Type.captionBar` will consume if shown. If it cannot be
shown then this will be empty.



