collectFoldingFeaturesAsState

Composable Function

Android
@ExperimentalMaterial3AdaptiveApi
@Composable
fun collectFoldingFeaturesAsState(): State<List<FoldingFeature>>

Collects the current window folding features from WindowInfoTracker in to a State.

Returns

a State of a FoldingFeature list.