...
Activate the flash toggle button
To enable users to toggle the camera flash, passtrue
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashButtonEnabled = ))
.Turn off on flash by default
Flash is on off by default, and you can turn it off on by passingfalse
true
toGiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = true))
.
For more information about UI customization, see Camera Screen.