CaptureConfiguration

public final class CaptureConfiguration

Configuration class for Capture feature.

Constructors

Link copied to clipboard
public CaptureConfiguration CaptureConfiguration(GiniCaptureNetworkService networkService, Boolean showOnboardingAtFirstRun, List<OnboardingPage> onboardingPages, Boolean showOnboarding, Boolean multiPageEnabled, DocumentImportEnabledFileTypes documentImportEnabledFileTypes, Boolean fileImportEnabled, Boolean qrCodeScanningEnabled, Boolean onlyQRCodeScanningEnabled, Boolean supportedFormatsHelpScreenEnabled, Boolean flashButtonEnabled, Boolean flashOnByDefault, Boolean returnAssistantEnabled, EventTracker eventTracker, List<HelpItem.Custom> customHelpItems, Boolean giniErrorLoggerIsOn, ErrorLoggerListener errorLoggerListener, Integer importedFileSizeBytesLimit, NavigationBarTopAdapter navigationBarTopAdapter, Boolean bottomNavigationBarEnabled, OnboardingNavigationBarBottomAdapter onboardingNavigationBarBottomAdapter, OnboardingIllustrationAdapter onboardingAlignCornersIllustrationAdapter, OnboardingIllustrationAdapter onboardingLightingIllustrationAdapter, OnboardingIllustrationAdapter onboardingMultiPageIllustrationAdapter, OnboardingIllustrationAdapter onboardingQRCodeIllustrationAdapter, CustomLoadingIndicatorAdapter customLoadingIndicatorAdapter, OnButtonLoadingIndicatorAdapter onButtonLoadingIndicatorAdapter, CameraNavigationBarBottomAdapter cameraNavigationBarBottomAdapter, ReviewNavigationBarBottomAdapter reviewNavigationBarBottomAdapter, HelpNavigationBarBottomAdapter helpNavigationBarBottomAdapter, EntryPoint entryPoint)

Functions

Link copied to clipboard

Enable/disable the bottom navigation bar.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the camera screen.

Link copied to clipboard

A list of HelpItem.Custom defining the custom help items to be shown in the Help Screen.

Link copied to clipboard

Set an adapter implementation to show a custom loading animation during analyse and scan.

Link copied to clipboard

Enable and configure the document import feature or disable it by passing in DocumentImportEnabledFileTypes.NONE.

Link copied to clipboard
public final EntryPoint getEntryPoint()

Set the entry point used for launching the SDK. See EntryPoint for possible values.

Link copied to clipboard

Set an ErrorLoggerListener to be notified of errors.

Link copied to clipboard

EventTracker instance which will be called from the different screens to inform you about the various events which can occur during the usage of the Capture feature.

Link copied to clipboard

Enable/disable the file import feature.

Link copied to clipboard

Enable/disable the flash button in the Camera Screen.

Link copied to clipboard

Set whether the camera flash is on or off by default.

Link copied to clipboard

Set whether the default Gini error logging implementation is on or not.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the help screen.

Link copied to clipboard

Set a custom imported file size limit in bytes.

Link copied to clipboard

Enable/disable the multi-page feature.

Link copied to clipboard

Set an adapter implementation to show a custom top navigation bar.

Link copied to clipboard

Set the GiniCaptureNetworkService instance which will be used by the library to request document related network calls (e.g. upload, analysis or deletion).

Set an adapter implementation to show a custom illustration on the "align corners" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom illustration on the "lighting" onboarding page.

Set an adapter implementation to show a custom illustration on the "multi-page" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the onboarding screen.

Link copied to clipboard

Set custom pages to be shown in the Onboarding Screen.

Link copied to clipboard

Set an adapter implementation to show a custom illustration on the "QR code" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom loading animation during analyse and scan.

Link copied to clipboard

Enable/disable only the QRCode scanning feature.

Link copied to clipboard

Enable/disable the QRCode scanning feature.

Link copied to clipboard

Enable/disable the return assistant feature.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the review screen.

Link copied to clipboard
public final Boolean getShowOnboarding()

Screen API only

Link copied to clipboard

Screen API only

Link copied to clipboard

Enable/disable the Supported Formats help screen.

Properties

Link copied to clipboard

Enable/disable the bottom navigation bar.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the camera screen.

Link copied to clipboard

A list of HelpItem.Custom defining the custom help items to be shown in the Help Screen.

Link copied to clipboard

Set an adapter implementation to show a custom loading animation during analyse and scan.

Link copied to clipboard

Enable and configure the document import feature or disable it by passing in DocumentImportEnabledFileTypes.NONE.

Link copied to clipboard
private final EntryPoint entryPoint

Set the entry point used for launching the SDK. See EntryPoint for possible values.

Link copied to clipboard

Set an ErrorLoggerListener to be notified of errors.

Link copied to clipboard
private final EventTracker eventTracker

EventTracker instance which will be called from the different screens to inform you about the various events which can occur during the usage of the Capture feature.

Link copied to clipboard
private final Boolean fileImportEnabled

Enable/disable the file import feature.

Link copied to clipboard

Enable/disable the flash button in the Camera Screen.

Link copied to clipboard
private final Boolean flashOnByDefault

Set whether the camera flash is on or off by default.

Link copied to clipboard

Set whether the default Gini error logging implementation is on or not.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the help screen.

Link copied to clipboard

Set a custom imported file size limit in bytes.

Link copied to clipboard
private final Boolean multiPageEnabled

Enable/disable the multi-page feature.

Link copied to clipboard

Set an adapter implementation to show a custom top navigation bar.

Link copied to clipboard

Set the GiniCaptureNetworkService instance which will be used by the library to request document related network calls (e.g. upload, analysis or deletion).

Set an adapter implementation to show a custom illustration on the "align corners" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom illustration on the "lighting" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom illustration on the "multi-page" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the onboarding screen.

Link copied to clipboard

Set custom pages to be shown in the Onboarding Screen.

Link copied to clipboard

Set an adapter implementation to show a custom illustration on the "QR code" onboarding page.

Link copied to clipboard

Set an adapter implementation to show a custom loading animation during analyse and scan.

Link copied to clipboard

Enable/disable only the QRCode scanning feature.

Link copied to clipboard

Enable/disable the QRCode scanning feature.

Link copied to clipboard

Enable/disable the return assistant feature.

Link copied to clipboard

Set an adapter implementation to show a custom bottom navigation bar on the review screen.

Link copied to clipboard
private final Boolean showOnboarding

Screen API only

Link copied to clipboard

Screen API only

Link copied to clipboard

Enable/disable the Supported Formats help screen.