createDocumentForImportedFiles

Component API

If you have enabled the multi-page feature and your application receives one or multiple files from another application you can use this method to create a Document for launching the Gini Capture SDK's MultiPageReviewFragment or the Analysis Fragment.

Importing the files is executed on a secondary thread as it can take several seconds for the process to complete. The callback methods are invoked on the main thread.

If the Document can be reviewed (isReviewable) launch the .

If the Document cannot be reviewed you must launch the Analysis Fragment ().

Return

a CancellationToken for cancelling the import process

Parameters

intent

the Intent your app received

context

Android context

callback

A AsyncCallback implementation