Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourYellowGreen
titlefor reviewapproved

Approver

Alpar Szotyori (Unlicensed)

Overview

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@145a5
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "TSD"
labelskb-how-to-article

The capture feature is unaware of any networking implementations and requires you to set them in the CaptureConfiguration. The networking logic is abstracted behind the GiniCaptureNetworkService interface which is used to upload, analyze, and delete documents. You can view the reference documentation for details.

You can provide your own networking by implementing the GiniCaptureNetworkService interface. Also, you can use the Gini Bank API Library for Android or implement the communication with the Gini Bank API yourself.

You can see how you can configure GiniBank to use your implementation of GiniCaptureNetworkService in the code snippet below:

Code Block
languagekotlin
val giniCaptureNetworkService = // your implementation of the GiniCaptureNetworkService interface

// set the GiniCaptureNetworkService to the CaptureConfiguration
val captureConfiguration = CaptureConfiguration(
    networkService = giniCaptureDefaultNetworkService
)

// setup GiniBank to use CaptureConfiguration
GiniBank.setCaptureConfiguration(context, captureConfiguration)