create Document For Imported File
@Deprecated()
@NonNull()
Content copied to clipboard
Component API
When your application receives a file from another application you can use this method tocreate a Document for launching the Gini Capture SDK's Review Fragment or AnalysisFragment.
If the Document can be reviewed (isReviewable) launch theReview Fragment (net.gini.android.capture.review.ReviewFragmentCompat).
If the Document cannot be reviewed you must launch the Analysis Fragments ().
Return
a Document for launching the Gini Capture SDK's Review Fragment orAnalysis Fragment
Deprecated
Use createDocumentForImportedFile instead.
Parameters
intent
the Intent your app received
context
Android context
Throws
if the file didn't pass validation