Camera and Flash

You can customize the camera and flash in the following ways:

  • Display the flash button
    To enable users to activate/deactivate the camera flash, pass true to GiniCapture.Builder.setFlashButtonEnabled().

  • Set flash on by default
    In our SDK the flash is set off by default, and you can set it on by passing true to GiniCapture.Builder.setFlashOnByDefault().

We recommend that you stick with the flash being off by default and let the user decide if they need to turn it on. We had a thorough study for the best results of the flash state and understood that turning the flash OFF has much better results in most cases.

For more information about UI customization, see Camera Screen.

Â