process Document
open override fun processDocument(fileStream: InputStream, fileName: String, categories: List<String>, deleteAfterProcessing: Boolean, parameters: JSONObject?, @MainThread onSuccess: (String) -> Unit, @MainThread 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.