Client Impl
Types
Functions
connect
Link copied to clipboard
open override fun connect(httpConnection: HttpURLConnection): BufferedReader
Content copied to clipboard
connect to URL
delete Document
Link copied to clipboard
open override fun deleteDocument(documentId: String, @MainThread onSuccess: (String) -> Unit, @MainThread onError: (String) -> Unit)
Content copied to clipboard
Delete Document from Veryfi
get Document
Link copied to clipboard
open override fun getDocument(documentId: String, @MainThread onSuccess: (String) -> Unit, @MainThread onError: (String) -> Unit)
Content copied to clipboard
Returns a json string String document information
get Documents
Link copied to clipboard
open override fun getDocuments(getQuery: GetQuery?, @MainThread onSuccess: (String) -> Unit, @MainThread onError: (String) -> Unit)
Content copied to clipboard
Returns a json string String list of documents.
process Document
Link copied to clipboard
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
process Document Url
Link copied to clipboard
open override fun processDocumentUrl(fileUrl: String, fileUrls: List<String>?, categories: List<String>?, deleteAfterProcessing: Boolean, maxPagesToProcess: Int, boostMode: Boolean, externalId: String?, parameters: JSONObject?, @MainThread onSuccess: (String) -> Unit, @MainThread onError: (String) -> Unit)
Content copied to clipboard
Process Document from url and extract all the fields from it.
update Document
Link copied to clipboard
open override fun updateDocument(documentId: String, parameters: JSONObject, @MainThread onSuccess: (String) -> Unit, @MainThread onError: (String) -> Unit)
Content copied to clipboard
Update data for a previously processed document, including almost any field like vendor
, date
, notes
and etc.