CaptureFlowImportContract

public final class CaptureFlowImportContract extends ActivityResultContract<CaptureImportInput, CaptureResult>

Activity Result Api custom contract for starting the capture flow for the case in which the a document was shared from another app.

The input is generated by Gini Pay Bank SDK internally when calling GiniPayBank.startCaptureFlowForIntent

It returns a CaptureResult same as CaptureFlowContract

Constructors

CaptureFlowImportContract
Link copied to clipboard

Functions

createIntent
Link copied to clipboard
Intent createIntent(Context context, CaptureImportInput input)
parseResult
Link copied to clipboard
CaptureResult parseResult(Integer resultCode, Intent result)