UseTorchAsFlashQuirk

@RequiresApi(value = 21) interface UseTorchAsFlashQuirk implements Quirk

Known direct subclasses
CameraNoResponseWhenEnablingFlashQuirk

Camera gets stuck when taking pictures with flash ON or AUTO in dark environment.

ImageCaptureWashedOutImageQuirk

Quirk that prevents from getting washed out image while taking picture with flash ON/AUTO mode.


A quirk interface which denotes CameraX should use torch for flash when flashMode is ON or AUTO.

Subclasses of this interface can denote the reason why torch is required instead of AE pre-capture.