---
title: "UiMediaScope.WindowFold"
description: "Represents a single physical fold or hinge intersecting the window."
type: "class"
lastmod: "2026-10-07"
---
## API Reference

> Source set: Common

```kotlin
public class WindowFold(public val state: FoldState, public val orientation: FoldOrientation)
```

Represents a single physical fold or hinge intersecting the window.

A `WindowFold` describes a geometric screen feature that actively crosses the bounds of the
current window. It maps directly to the state of underlying hardware hinge sensors.

#### Parameters

| | |
| --- | --- |
| state | The geometric layout state of the fold (e.g. `FoldState.Flat` or `FoldState.HalfOpened`). |
| orientation | The axis of the fold relative to the window bounds (e.g. `FoldOrientation.Horizontal` or `FoldOrientation.Vertical`). |
