GiniCaptureDefaultNetworkApi

public class GiniCaptureDefaultNetworkApi implements GiniCaptureNetworkApi

Default implementation of network calls which can be performed manually from outside the Gini Capture SDK (e.g. for sending feedback).

To create an instance use the GiniCaptureDefaultNetworkApi.Builder returned by the builder method.

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

Types

Link copied to clipboard
public class Builder
Builder for configuring a new instance of the GiniCaptureDefaultNetworkApi.

Functions

Link copied to clipboard
static GiniCaptureDefaultNetworkApi.Builder builder()
Creates a new GiniCaptureDefaultNetworkApi.Builder to configure and create a new instance.
Link copied to clipboard
void deleteGiniUserCredentials()
Link copied to clipboard
void sendFeedback(@NonNull() Map<String, GiniCaptureSpecificExtraction> extractions, @NonNull() GiniCaptureNetworkCallback<Void, Error> callback)
Link copied to clipboard
void setUpdatedCompoundExtractions(@NonNull() Map<String, GiniCaptureCompoundExtraction> compoundExtractions)