---
title: "UiMediaScope.FoldOrientation"
description: "Describes the hardware orientation of a physical folding hinge."
type: "class"
lastmod: "2026-10-07"
---
## API Reference

> Source set: Common

```kotlin
public class FoldOrientation internal constructor(internal val value: Int)
```

Describes the hardware orientation of a physical folding hinge.

This orientation is strictly relative to the bounds of the window, regardless of how the
physical device is currently rotated in gravitational space.

## Members

### Companion

> Source set: Common

```kotlin
public companion object
```

## Properties

### Horizontal

> Source set: Common

```kotlin
public val Horizontal: FoldOrientation = FoldOrientation(0)
```

Represents a horizontal hinge or fold.

### Vertical

> Source set: Common

```kotlin
public val Vertical: FoldOrientation = FoldOrientation(1)
```

Represents a vertical hinge or fold.
