FoldingFeature.State


public final class FoldingFeature.State


Represents the State of the FoldingFeature.

Summary

Public fields

static final @NonNull FoldingFeature.State

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

static final @NonNull 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 methods

@NonNull String

Public fields

FLAT

public static final @NonNull FoldingFeature.State FLAT

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

public static final @NonNull FoldingFeature.State HALF_OPENED

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 methods

toString

public @NonNull String toString()