WindowAdaptiveInfo


This class collects window info that affects adaptation decisions. An adaptive layout is supposed to use the info from this class to decide how the layout is supposed to be adapted.

Summary

Public constructors

WindowAdaptiveInfo(
    windowSizeClass: WindowSizeClass,
    windowPosture: Posture
)

create an instance of WindowAdaptiveInfo

Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Posture

Posture of the current window.

Cmn
WindowSizeClass

WindowSizeClass of the current window.

Cmn

Public constructors

WindowAdaptiveInfo

WindowAdaptiveInfo(
    windowSizeClass: WindowSizeClass,
    windowPosture: Posture
)

create an instance of WindowAdaptiveInfo

Parameters
windowSizeClass: WindowSizeClass

WindowSizeClass of the current window.

windowPosture: Posture

Posture of the current window.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

windowPosture

val windowPosturePosture

Posture of the current window.

windowSizeClass

val windowSizeClassWindowSizeClass

WindowSizeClass of the current window.