UiMediaScope.FoldState


Describes the layout fold state of the window, typically on a foldable device.

Summary

Public companion properties

UiMediaScope.FoldState

Represents a flat fold state, where the window's display area on a foldable device is flat (either fully open or closed).

Cmn
UiMediaScope.FoldState

Represents a device in a semi-open state.

Cmn

Public functions

open String
Cmn

Public companion properties

Flat

val Flat: UiMediaScope.FoldState

Represents a flat fold state, where the window's display area on a foldable device is flat (either fully open or closed). It's the default state for non-foldable devices, or when the window does not span across a hinge or fold (such as in split-screen mode on a single panel).

HalfOpened

val HalfOpened: UiMediaScope.FoldState

Represents a device in a semi-open state. The window spans across a hinge or fold, splitting the display area into two logical parts.

Public functions

toString

open fun toString(): String