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 Vision Library's MultiPageReviewFragment or one of the Analysis Fragments.

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 one of the Analysis Fragments ( or ).

Return

a CancellationToken for cancelling the import process

Parameters

intent

the Intent your app received

context

Android context

callback

A AsyncCallback implementation