FullyOpened

data class FullyOpened(val height: Dimension, val width: Dimension) : ScreenClassifier

Indicates one of three possible outcomes for the screen:

  1. The device is not a foldable. In this case, the device will never have another classification type.

  2. The device is a foldable that is completely opened flat.

  3. The device is a foldable that is completely closed, shutting off the use of the larger foldable screen and revealing the outward-facing screen. An example of this in action would be a Samsung Galaxy Z Fold 4, when the device is folded shut and the user is using the smaller screen which doesn't fold whatsoever.

Parameters

height

A Dimension revealing the physical size of the screen in DPs and what class its size falls into.

width

A Dimension revealing the physical size of the screen in DPs and what class its size falls into.

See also

Constructors

Link copied to clipboard
constructor(height: Dimension, width: Dimension)

A device without a folded screen with Dimensions along both the X and Y axes.

Properties

Link copied to clipboard

A Dimension revealing the physical size of the screen in DPs and what class its size falls into.

Link copied to clipboard

A Dimension revealing the physical size of the screen in DPs and what class its size falls into.