create Intent For Imported File
@NonNull()
Content copied to clipboard
Screen API
When your application receives a file from another application you can use this method to create an Intent for launching the Gini Vision Library.
Start the Intent with startActivityForResult to receive the extractions or a GiniVisionError in case there was an error.
Return
an Intent for launching the Gini Vision Library
Parameters
intent
the Intent your app received
context
Android context
review Activity Class
(optional) the class of your application's subclass
analysis Activity Class
(optional) the class of your application's subclass
Throws
if the file didn't pass validation
if the Intent's data is not valid or the mime type is not supported