public class GiniVisionAccountingNetworkApi extends java.lang.Object implements GiniVisionNetworkApi
To create an instance use the GiniVisionAccountingNetworkApi.Builder
returned by the
GiniVisionAccountingNetworkApi.builder()
method.
In order to easily access this 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 | Class and Description |
---|---|
static class |
GiniVisionAccountingNetworkApi.Builder
Builder for configuring a new instance of the
GiniVisionAccountingNetworkApi . |
Modifier and Type | Method and Description |
---|---|
static GiniVisionAccountingNetworkApi.Builder |
builder()
Creates a new
GiniVisionAccountingNetworkApi.Builder to configure and create a new
instance. |
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.
|
public static GiniVisionAccountingNetworkApi.Builder builder()
GiniVisionAccountingNetworkApi.Builder
to configure and create a new
instance.GiniVisionAccountingNetworkApi.Builder
public void sendFeedback(java.util.Map extractions, GiniVisionNetworkCallback callback)
GiniVisionNetworkApi
GiniVisionSpecificExtraction
s must contain the final user corrected and/or accepted values.sendFeedback
in interface GiniVisionNetworkApi
extractions
- a map of extraction labels and specific extractionscallback
- a callback implementation to return the outcomepublic void deleteGiniUserCredentials()
GiniVisionNetworkApi
By deleting the credentials, new ones will be generated at the next upload.
deleteGiniUserCredentials
in interface GiniVisionNetworkApi