Function

calculatePosture

Calculates the Posture for a given list of FoldingFeatures.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Android

Added in 1.0.0-alpha06

@ExperimentalMaterial3AdaptiveApi
fun calculatePosture(foldingFeatures: List<FoldingFeature>): Posture

Calculates the Posture for a given list of FoldingFeatures. This methods converts framework folding info into the Material-opinionated posture info.