Class

UiMediaScope.FoldOrientation

Describes the hardware orientation of a physical folding hinge.

Source set: Common
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
public companion object

Properties

Horizontal

Source set: Common
public val Horizontal: FoldOrientation = FoldOrientation(0)

Represents a horizontal hinge or fold.

Vertical

Source set: Common
public val Vertical: FoldOrientation = FoldOrientation(1)

Represents a vertical hinge or fold.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: