GiniCaptureNetworkApi

public interface 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 setGiniCaptureNetworkApi when creating a instance. You can then get the instance in your app with getGiniCaptureNetworkApi.

Functions

Link copied to clipboard
abstract void deleteGiniUserCredentials()
Delete the anonymous gini user credentials.
Link copied to clipboard
abstract void sendFeedback(@NonNull() Map<String, GiniCaptureSpecificExtraction> extractions, @NonNull() GiniCaptureNetworkCallback<Void, Error> callback)
Call this method with the extractions the user has seen and accepted.
Link copied to clipboard
abstract void setUpdatedCompoundExtractions(@NonNull() Map<String, GiniCaptureCompoundExtraction> compoundExtractions)
This method is called by the Gini Capture Library with the compound extractions (e.g., line items) the user has seen.