---
title: "currentWindowAdaptiveInfo"
description: "Calculates and returns [WindowAdaptiveInfo] of the provided context. It's a convenient function
that uses the Material default [WindowSizeClass.calculateFromSize] and [calculatePosture]
functions to retrieve [WindowSizeClass] and [Posture]."
type: "composable"
---

<div class='type'>Composable Function</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@ExperimentalMaterial3AdaptiveApi
@Composable
fun currentWindowAdaptiveInfo(): WindowAdaptiveInfo
```


Calculates and returns `WindowAdaptiveInfo` of the provided context. It's a convenient function
that uses the Material default `WindowSizeClass.calculateFromSize` and `calculatePosture`
functions to retrieve `WindowSizeClass` and `Posture`.

#### Returns

| | |
| --- | --- |
|  | `WindowAdaptiveInfo` of the provided context |





