SceneDetectorCallback

public interface SceneDetectorCallback


Handles callbacks notifying changes in scene lighting conditions.

Summary

Public methods

abstract void
onSceneBrightnessChanged(
    @NonNull LowLightBoostSession session,
    float boostStrength
)

Called when the scene brightness changes.

Public methods

onSceneBrightnessChanged

abstract void onSceneBrightnessChanged(
    @NonNull LowLightBoostSession session,
    float boostStrength
)

Called when the scene brightness changes.

Parameters
@NonNull LowLightBoostSession session

the session associated with the brightness change.

float boostStrength

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