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


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



<h2 id="currentwindowadaptiveinfo">currentWindowAdaptiveInfo</h2>

<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 |