FoldingFeature.State

class FoldingFeature.State


Represents the State of the FoldingFeature.

Summary

Public companion properties

FoldingFeature.State

The foldable device is completely open, the screen space that is presented to the user is flat.

FoldingFeature.State

The foldable device's hinge is in an intermediate position between opened and closed state, there is a non-flat angle between parts of the flexible screen or between physical screen panels.

Public functions

open String

Public companion properties

FLAT

val FLATFoldingFeature.State

The foldable device is completely open, the screen space that is presented to the user is flat. See the Posture section in the official documentation for visual samples and references.

HALF_OPENED

val HALF_OPENEDFoldingFeature.State

The foldable device's hinge is in an intermediate position between opened and closed state, there is a non-flat angle between parts of the flexible screen or between physical screen panels. See the Posture section in the official documentation for visual samples and references.

Public functions

toString

open fun toString(): String