GiniCaptureNetworkApi

Interface specifying network calls which can be performed manually from outside the Gini Captrue SDK (e.g. for sending feedback). *

In order to easily access your implementation pass an instance of it to when creating a instance. You can then get the instance in your app with .

public interface GiniCaptureNetworkApi

Functions

deleteGiniUserCredentials
Link copied to clipboard

Delete the anonymous gini user credentials. These were automatically generated when the first document was uploaded.

By deleting the credentials, new ones will be generated at the next upload.

abstract void deleteGiniUserCredentials()
sendFeedback
Link copied to clipboard

Call this method with the extractions the user has seen and accepted. The s must contain the final user corrected and/or accepted values.

setUpdatedCompoundExtractions
Link copied to clipboard

This method is called by the Gini Capture Library with the compound extractions (e.g., line items) the user has seen. Contains changes made by the user.

Note: If the compound extractions are modified in your app, then call this method to have the latest changes available when the feedback is sent.