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 to create a Document for launching the Gini Capture SDK's Review Fragment or Analysis Fragment.
If the Document can be reviewed (isReviewable) launch the Review 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 or Analysis Fragment
Deprecated
Use createDocumentForImportedFile instead.
Parameters
intent
the Intent your app received
context
Android context
Throws
if the file didn't pass validation