onAmbient

open fun onAmbient(lux: Float)

Override this function to be notified about the glasses ambient readings change

Parameters

lux

the ambient sensor reading in lux