AmbientStateUpdate

data class AmbientStateUpdate(val ambientState: AmbientState, val changeTimeMillis: Long = System.currentTimeMillis())

Represent Ambient as updates, with the state and time of change. This is necessary to ensure that when the system provides a (typically) 1min-frequency callback to onUpdateAmbient, the developer may wish to update composables, but the state hasn't changed.

Constructors

Link copied to clipboard
constructor(ambientState: AmbientState, changeTimeMillis: Long = System.currentTimeMillis())

Properties

Link copied to clipboard
Link copied to clipboard