WindowWidthSizeClass
-
Cmn
class WindowWidthSizeClass
A class to represent the width size buckets for a viewport. The possible values are COMPACT, MEDIUM, and EXPANDED. WindowWidthSizeClass 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 |
||
|---|---|---|
WindowWidthSizeClass |
This property is deprecated. WindowWidthSizeClass not be developed further. |
Cmn
|
WindowWidthSizeClass |
This property is deprecated. WindowWidthSizeClass not be developed further. |
Cmn
|
WindowWidthSizeClass |
This property is deprecated. WindowWidthSizeClass not be developed further. |
Cmn
|
Public functions |
||
|---|---|---|
open operator Boolean |
This function is deprecated. WindowWidthSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
open Int |
This function is deprecated. WindowWidthSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
open String |
This function is deprecated. WindowWidthSizeClass will not be developed further, use WindowSizeClass instead. |
Cmn
|
Public companion properties
COMPACT
val COMPACT: WindowWidthSizeClass
A bucket to represent a compact width window, typical for a phone in portrait.
EXPANDED
val EXPANDED: WindowWidthSizeClass
A bucket to represent an expanded width window, typical for a large tablet or desktop form-factor.
MEDIUM
val MEDIUM: WindowWidthSizeClass
A bucket to represent a medium width window, typical for a phone in landscape or a tablet.