# DisplayFeature

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

*** ** * ** ***


```
public interface DisplayFeature
```

<br />

Known direct subclasses [FoldingFeature](https://developer.android.com/reference/androidx/window/layout/FoldingFeature)

|---|---|
| `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` | A feature that describes a fold in the flexible display or a hinge between two physical display panels. |

*** ** * ** ***

Description of a physical feature on the display.

A display feature is a distinctive physical attribute located within the display panel of the device. It can intrude into the application window space and create a visual distortion, visual or touch discontinuity, make some area invisible or create a logical divider or separation in the screen space.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` | Represents a screen fold that intersects the application window. |

## Summary

| ### Public methods |
|---|---|
| `abstract @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html` | `https://developer.android.com/reference/androidx/window/layout/DisplayFeature#getBounds()()` The bounding rectangle of the feature within the application window in the window coordinate space. |

## Public methods

### getBounds

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

```
abstract @NonNull Rect getBounds()
```

The bounding rectangle of the feature within the application window in the window coordinate space.