Start native apps faster with the Composables CLI ->
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.