Builder
Builder for configuring a new instance of the GiniCaptureDefaultNetworkService.
Functions
Create a new instance of the GiniCaptureDefaultNetworkService.
Set the base URL of the Gini API.
Set the cache implementation to use with Volley. If no cache is set, the default Volley cache will be used.
Set your Gini API client ID and secret. The email domain is used when generating anonymous Gini users in the form of UUID@your-email-domain
.
Set the (initial) timeout for each request. A timeout error will occur if nothing is received from the underlying socket in the given time span. The initial timeout will be altered depending on the backoff multiplier and failed retries.
Set the connection timeout's time unit.
Set the credentials store which is used by the Gini Bank API lib to store user credentials. If no credentials store is set, the SharedPreferencesCredentialsStore from the Gini API SDK is used by default.
Enable or disable debugging.
Set additional information related to the documents. This metadata will be passed to all document uploads.
Set the resource id for the network security configuration xml to enable public key pinning.
Set a custom SessionManager implementation for handling sessions.
Set a custom TrustManager implementation to have full control over which certificates to trust.
Set the base URL of the Gini User Center API.