toPosture

fun FoldingFeature.toPosture(): Posture

Returns a Posture which represent the current posture of the foldable device.