...
Activate the flash toggle button
To enable users to toggle the camera flash, passtrue
toGiniCapture.Builder.setFlashButtonEnabled(GiniBank.setCaptureConfiguration(CaptureConfiguration(flashButtonEnabled = ))
.Turn off flash by default
Flash is on by default, and you can turn it off by passingfalse
toGiniCapture.Builder.setFlashOnByDefault(GiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = ))
.
Read more in UI Customization Guide Camera Screen.