# FoldingFeature.OcclusionType

# FoldingFeature.OcclusionType

Artifact:[androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window)  
[View Source](https://cs.android.com/search?q=file:androidx/window/layout/FoldingFeature.kt+class:androidx.window.layout.FoldingFeature.OcclusionType)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/layout/FoldingFeature.OcclusionType "View this page in Java")

<br />

```
class FoldingFeature.OcclusionType
```

<br />

*** ** * ** ***

Represents how the hinge might occlude content.

## Summary

|                                                  ### Public companion properties                                                   |
|------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [FoldingFeature.OcclusionType](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.OcclusionType) | [FULL](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.OcclusionType#FULL()) The[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)occludes all content.                    |
| [FoldingFeature.OcclusionType](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.OcclusionType) | [NONE](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.OcclusionType#NONE()) The[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)does not occlude the content in any way. |

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.OcclusionType#toString())`()` |

## Public companion properties

### FULL

```
val FULL: FoldingFeature.OcclusionType
```

The[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)occludes all content. One example is a hinge that is considered to be part of the window, so that part of the UI is not visible to the user. Any content shown in the same area as the hinge may not be accessible in any way. Fully occluded areas should always be avoided when placing interactive UI elements and text.  

### NONE

```
val NONE: FoldingFeature.OcclusionType
```

The[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)does not occlude the content in any way. One example is a flat continuous fold where content can stretch across the fold. Another example is a hinge that has width or height equal to 0. In this case the content is physically split across both displays, but fully visible.  

## Public functions

### toString

```
open fun toString(): String
```