AmbientTickEffect
Source set: Android
@Composable
public fun AmbientModeManager.AmbientTickEffect(block: () -> Unit)
Parameters
| block | The state update logic to execute once per ambient tick. |
A convenience extension that performs recurrent, battery-efficient UI updates when the device is in AmbientMode.Ambient.
@Composable
public fun AmbientModeManager.AmbientTickEffect(block: () -> Unit)
| block | The state update logic to execute once per ambient tick. |