GiniCapture

public class GiniCapture

Single entry point for the Gini Capture SDK for configuration and interaction.

To create and configure a singleton instance use the newInstance method and the returned Builder.

Please first provide the transfer summary via the sendTransferSummary method. The transfer summary is used to improve the future extraction accuracy. Then, use the cleanup method to clean up the SDK. Please follow the recommendations below:

  • Provide the final data approved by the user (and not the initially extracted only).
  • Send the transfer summary after TAN verification and provide the extraction values the user has used.

Types

Link copied to clipboard
public class Builder
Builder for GiniCapture.
Link copied to clipboard
public class Internal
Internal use only.

Functions

Link copied to clipboard
public static void cleanup(Context context)
public static synchronized void cleanup(@NonNull() Context context, @NonNull() String paymentRecipient, @NonNull() String paymentReference, @NonNull() String paymentPurpose, @NonNull() String iban, @NonNull() String bic, @NonNull() Amount amount)
Destroys the GiniCapture instance and frees up used resources.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public CancellationToken createGiniCaptureFragmentForIntent(Context context, Intent intent, GiniCapture.CreateGiniCaptureFragmentForIntentCallback captureIntentCallback)
Link copied to clipboard
public CancellationToken createIntentForImportedFiles(@NonNull() Intent intent, @NonNull() Context context, @NonNull() AsyncCallback<Intent, ImportedFileValidationException> callback)
When your application receives one or multiple files from another application you can use this method to create an Intent for launching the Gini Capture SDK.
Link copied to clipboard
public boolean getAllowScreenshots()
Get whether screenshots are allowed or not.
Link copied to clipboard
The custom help items, if configured.
Link copied to clipboard
The custom Onboarding Screen pages, if configured.
Link copied to clipboard
Retrieve the file types enabled for document import.
Link copied to clipboard
The entry point used for launching the SDK.
Link copied to clipboard
The size limit in bytes for imported files.
Link copied to clipboard
public static synchronized GiniCapture getInstance()
Retrieve the current instance.
Link copied to clipboard
public static synchronized boolean hasInstance()
Check whether an instance exists.
Link copied to clipboard
Internal use only.
Link copied to clipboard
Link copied to clipboard
public boolean isFileImportEnabled()
Find out whether file import has been enabled.
Link copied to clipboard
public boolean isFlashButtonEnabled()
Find out whether the flash button on the Camera Screen has been enabled.
Link copied to clipboard
public boolean isFlashOnByDefault()
Find out whether the camera flash is on or off by default.
Link copied to clipboard
public boolean isMultiPageEnabled()
Find out whether scanning multi-page documents has been enabled.
Link copied to clipboard
public boolean isOnlyQRCodeScanning()
Find out whether only QRCode scanning has been enabled.
Link copied to clipboard
public boolean isQRCodeScanningEnabled()
Find out whether QRCode scanning has been enabled.
Link copied to clipboard
Find out whether the Supported Formats help screen has been enabled.
Link copied to clipboard
public static synchronized GiniCapture.Builder newInstance()
public static synchronized GiniCapture.Builder newInstance(Context context)
Configure and create a new instance using the returned Builder.
Link copied to clipboard
public static synchronized void sendTransferSummary(@NonNull() String paymentRecipient, @NonNull() String paymentReference, @NonNull() String paymentPurpose, @NonNull() String iban, @NonNull() String bic, @NonNull() Amount amount)
Provides transfer summary to Gini.
Link copied to clipboard
public void setShouldShowOnboarding(boolean shouldShowOnboarding)
Screen API only Set to true to show the Onboarding Screen every time the CameraActivity starts.
Link copied to clipboard
public boolean shouldShowOnboarding()
Screen API only If set to true, the Onboarding Screen will be shown every every time the CameraActivity starts.
Link copied to clipboard
Screen API only If set to false, the Onboarding Screen won't be shown on the first run.

Properties

Link copied to clipboard
public final boolean allowScreenshots
Link copied to clipboard
public final EntryPoint entryPoint
Link copied to clipboard
public final boolean isBottomNavigationBarEnabled