Package-level declarations

Types

Link copied to clipboard
data class Dimension(val dp: Dp, val sizeClass: WindowSizeClass)

Models the dimension properties of the device's screen along one axis, such as either the X axis or Y axis. Two Dimension classes together are used to define the complete dimensions of a screen along both axes.

Link copied to clipboard
sealed interface ScreenClassifier

The parent type for all screen classification measurement properties, regardless of whether the device is capable of folding its screen.

Link copied to clipboard

Classifies a ScreenClassifier.FullyOpened screen into one of three size classes: Compact, Medium, or Expanded. Does not indicate a directional axis, and is used twice by the Classifier to individually represent the size of the screen along both the X and Y axes.