Skip to end of banner
Go to start of banner

Camera and Flash

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

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 GiniBank.setCaptureConfiguration(CaptureConfiguration(flashButtonEnabled = )).

  • 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 GiniBank.setCaptureConfiguration(CaptureConfiguration(flashOnByDefault = true)).

We recommend that you stick with the flash being off by default and let the user to 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.

  • No labels