...
The diagram below shows the interaction between your app and the SDK:
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The Gini Bank SDK can return with the following results:
CaptureResult.Success
A document was analyzed and the extractions are available in the properties of the CaptureResult.Success
object.
CaptureResult.Cancel
The user
...
canceled Gini Bank SDK.
CaptureResult.Error
An error occurred and the details are available in the value
property of the CaptureResult.Error
object.
CaptureResult.Empty
The
Gini Bank SDK was able to extract information, but they were not payment related. Your app should proceed with allowing your user to enter the payment information manually.
CaptureResult.EnterManually
The document analysis finished with no results or an error and the user clicked the Enter manually button on either the No Results Screen or the Error Screen. Your app should proceed with allowing your user to enter the payment information manually.
In the following example, you can see how to launch the capture flow and how to handle the results:
...