public interface GiniVisionNetworkApi
In order to easily access your implementation pass an instance of it to GiniVision.Builder#setGiniVisionNetworkApi(GiniVisionNetworkApi) when creating a GiniVision instance. You can then get the instance in your app with GiniVision.getGiniVisionNetworkApi().
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGiniUserCredentials()
Delete the anonymous gini user credentials.
|
void |
sendFeedback(java.util.Map extractions,
GiniVisionNetworkCallback callback)
Call this method with the extractions the user has seen and accepted.
|
void sendFeedback(java.util.Map extractions,
GiniVisionNetworkCallback callback)
GiniVisionSpecificExtractions must contain the final user corrected and/or accepted values.extractions - a map of extraction labels and specific extractionscallback - a callback implementation to return the outcomevoid deleteGiniUserCredentials()
By deleting the credentials, new ones will be generated at the next upload.