Composable Function

collectFoldingFeaturesAsState

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

collectFoldingFeaturesAsState

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

Last updated: