# FoldingFeature.Orientation

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.Orientation) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

*** ** * ** ***


```
public final class FoldingFeature.Orientation
```

<br />

*** ** * ** ***

Represents the axis for which the `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` runs parallel to.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/FoldingFeature.Orientation` | `https://developer.android.com/reference/androidx/window/layout/FoldingFeature.Orientation#HORIZONTAL()` The width of the `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` is greater than the height. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/FoldingFeature.Orientation` | `https://developer.android.com/reference/androidx/window/layout/FoldingFeature.Orientation#VERTICAL()` The height of the `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` is greater than or equal to the width. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/window/layout/FoldingFeature.Orientation#toString()()` |

## Public fields

### HORIZONTAL

```
public static final @NonNull FoldingFeature.Orientation HORIZONTAL
```

The width of the `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` is greater than the height.

### VERTICAL

```
public static final @NonNull FoldingFeature.Orientation VERTICAL
```

The height of the `https://developer.android.com/reference/androidx/window/layout/FoldingFeature` is greater than or equal to the width.

## Public methods

### toString

```
public @NonNull String toString()
```