# FoldingFeature.Orientation

# 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)

*** ** * ** ***

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

<br />

```
class FoldingFeature.Orientation
```

<br />

*** ** * ** ***

Represents the axis for which the[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)runs parallel to.

## Summary

|                                                ### Public companion properties                                                 |
|--------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [FoldingFeature.Orientation](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.Orientation) | [HORIZONTAL](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.Orientation#HORIZONTAL()) The width of the[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)is greater than the height.         |
| [FoldingFeature.Orientation](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.Orientation) | [VERTICAL](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature.Orientation#VERTICAL()) The height of the[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)is greater than or equal to the width. |

|                                   ### 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.Orientation#toString())`()` |

## Public companion properties

### HORIZONTAL

```
val HORIZONTAL: FoldingFeature.Orientation
```

The width of the[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)is greater than the height.  

### VERTICAL

```
val VERTICAL: FoldingFeature.Orientation
```

The height of the[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)is greater than or equal to the width.  

## Public functions

### toString

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