Function

calculatePosture

Calculates the Posture for a given list of FoldingFeatures.

calculatePosture

Source set: Android
@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.

Last updated: