🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Component

AmbientTickEffect

A convenience extension that performs recurrent, battery-efficient UI updates when the device is in AmbientMode.Ambient.

AmbientTickEffect

Source set: Android
@Composable
public fun AmbientModeManager.AmbientTickEffect(block: () -> Unit)

Parameters

block The state update logic to execute once per ambient tick.

Content updated: