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