process Document
abstract fun processDocument(fileStream: InputStream, fileName: String, categories: List<String>, deleteAfterProcessing: Boolean, parameters: JSONObject?, onSuccess: (String) -> Unit, onError: (String) -> Unit)
Content copied to clipboard
Process a document and extract all the fields from it
Parameters
file Stream
FileInputStream of the file who contains the document
file Name
Name of the file who contains the document
categories
List of categories Veryfi can use to categorize the document
delete After Processing
Delete this document from Veryfi after data has been extracted
parameters
Additional request parameters
on Success
Async callback in success case.
on Error
Async callback in error case.