GiniVisionNetworkApi

public interface GiniVisionNetworkApi

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

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

Functions

deleteGiniUserCredentials
Link copied to clipboard
abstract void deleteGiniUserCredentials()
Delete the anonymous gini user credentials.
sendFeedback
Link copied to clipboard
abstract void sendFeedback(@NonNull() Map<String, GiniVisionSpecificExtraction> extractions, @NonNull() GiniVisionNetworkCallback<Void, Error> callback)
Call this method with the extractions the user has seen and accepted.