Configuration and interaction are done through GiniCapture
. To set the configuration, use the GiniCapture.Builder
returned by GiniCapture.newInstance(context)
. The builder creates a new GiniCapture
singleton which you can destroy later with GiniCapture.cleanup()
. This also frees up any used resources.
Call GiniCapture.cleanup()
after the user sees the extractions, potentially corrects them, and uses them to perform an action (for example, a payment transaction). Pass the same values to cleanup()
which the user sees and uses in your UI.
To view all the configuration options, see the documentation of GiniCapture.Builder.
Find the information about the configurable features in Features and the information about UI customization options in Guides.