create Intent For Imported File
@Deprecated()
@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 GiniVisionError in case there was an error.
Return
an Intent for launching the Gini Vision Library
Deprecated
Use createIntentForImportedFile instead.
Parameters
intent
the Intent your app received
context
Android context
review Activity Class
the class of your application's ReviewActivity subclass
analysis Activity Class
the class of your application's AnalysisActivity subclass
Throws
if the file didn't pass validation
if the Intent's data is not valid or the mime type is not supported