findFoldingFeature

fun List<DisplayFeature>.findFoldingFeature(): FoldingFeature?

Finds a FoldingFeature from a list of DisplayFeature.


fun WindowLayoutInfo.findFoldingFeature(): FoldingFeature?

Finds a FoldingFeature from a WindowLayoutInfo.