Package 

Interface GiniCaptureNetworkApi

  • All Implemented Interfaces:

    
    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.

    • Constructor Detail

    • Method Detail

      • deleteGiniUserCredentials

         abstract void deleteGiniUserCredentials()

        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.

      • setUpdatedCompoundExtractions

         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. 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.

        Parameters:
        compoundExtractions - the updated compound extractions