Package-level declarations
Functions
Link copied to clipboard
Keep screen on when Player.isPlaying
Link copied to clipboard
Maintain visibility on focus
Link copied to clipboard
fun rememberDelayedVisibilityState(visible: Boolean = true, autoHideEnabled: Boolean = true, duration: Duration = DelayedVisibilityState.DefaultDuration): DelayedVisibilityState
fun rememberDelayedVisibilityState(player: Player, visible: Boolean = true, autoHideEnabled: Boolean = true, duration: Duration = DelayedVisibilityState.DefaultDuration): DelayedVisibilityState
Remember delayed visibility state
Link copied to clipboard
fun Modifier.toggleable(enabled: Boolean = true, role: Role? = Role.Switch, delayedVisibilityState: DelayedVisibilityState): Modifier
fun Modifier.toggleable(enabled: Boolean = true, role: Role? = Role.Switch, indication: Indication? = null, interactionSource: MutableInteractionSource?, delayedVisibilityState: DelayedVisibilityState): Modifier
Toggleable
Link copied to clipboard
fun ToggleableBox(visibilityState: DelayedVisibilityState, toggleableContent: @Composable AnimatedVisibilityScope.() -> Unit, modifier: Modifier = Modifier, toggleable: Boolean = true, contentAlignment: Alignment = Alignment.TopStart, propagateMinConstraints: Boolean = false, enter: EnterTransition = expandVertically { it }, exit: ExitTransition = shrinkVertically { it }, content: @Composable BoxScope.() -> Unit)
Toggle view