SceneDetectorCallback

interface SceneDetectorCallback


Handles callbacks notifying changes in scene lighting conditions.

Summary

Public functions

Unit
onSceneBrightnessChanged(
    session: LowLightBoostSession,
    boostStrength: Float
)

Called when the scene brightness changes.

Public functions

onSceneBrightnessChanged

fun onSceneBrightnessChanged(
    session: LowLightBoostSession,
    boostStrength: Float
): Unit

Called when the scene brightness changes.

Parameters
session: LowLightBoostSession

the session associated with the brightness change.

boostStrength: Float

the current boost value, in the range 0.0, 1.0. When the value exceeds 0.5, the scene is considered low light.