WindowHeightSizeClass
-
Cmn
class WindowHeightSizeClass
A class to represent the height size buckets for a viewport. The possible values are COMPACT, MEDIUM, and EXPANDED. WindowHeightSizeClass should not be used as a proxy for the device type. It is possible to have resizeable windows in different device types. The viewport might change from a COMPACT all the way to an EXPANDED size class.
Summary
Public companion properties |
||
|---|---|---|
WindowHeightSizeClass |
This property is deprecated. WindowHeightSizeClass not be developed further. |
Cmn
|
WindowHeightSizeClass |
This property is deprecated. WindowHeightSizeClass not be developed further. |
Cmn
|
WindowHeightSizeClass |
This property is deprecated. WindowHeightSizeClass not be developed further. |
Cmn
|
Public functions |
||
|---|---|---|
open operator Boolean |
This function is deprecated. WindowHeightSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
open Int |
This function is deprecated. WindowHeightSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
open String |
This function is deprecated. WindowHeightSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
Public companion properties
COMPACT
val COMPACT: WindowHeightSizeClass
A bucket to represent a compact height, typical for a phone that is in landscape.
EXPANDED
val EXPANDED: WindowHeightSizeClass
A bucket to represent an expanded height window, typical for a large tablet or a desktop form-factor.
MEDIUM
val MEDIUM: WindowHeightSizeClass
A bucket to represent a medium height, typical for a phone in portrait or a tablet.