Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Info |
---|
We recommend using Capture Flow with Fragments instead of activities. |
In order to use the capture flow with activities, follow these steps:
Request camera access.
Configure the capture feature using the
CaptureConfiguration
.Register an activity result handler with the
CaptureFlowContract()
.Launch the SDK with
GiniBank.startCaptureFlow()
.Handle the extraction results (e.g. in the
registerForActivityResult
).Send the final transfer summary values to Gini by calling
GiniBank.sendTransferSummary()
method which will be used to improve the future extraction accuracyClean up the SDK by calling
GiniBank.releaseCapture()
which will release the resources used by SDK.
...
Note |
---|
|
...
CaptureResult.Success
A document was analyzed analysed and the extractions are available in the properties of the CaptureResult.Success
object.
...