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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: