CaptureConfiguration

public final class CaptureConfiguration

Configuration class for Capture feature.

Constructors

CaptureConfiguration
Link copied to clipboard
CaptureConfiguration CaptureConfiguration(GiniCaptureNetworkService networkService, GiniCaptureNetworkApi networkApi, Boolean showOnboardingAtFirstRun, List<OnboardingPage> onboardingPages, Boolean showOnboarding, Boolean multiPageEnabled, DocumentImportEnabledFileTypes documentImportEnabledFileTypes, Boolean fileImportEnabled, Boolean qrCodeScanningEnabled, Boolean supportedFormatsHelpScreenEnabled, Boolean flashButtonEnabled, Boolean flashOnByDefault, Boolean backButtonsEnabled, Boolean returnAssistantEnabled, EventTracker eventTracker, List<HelpItem.Custom> customHelpItems, Boolean giniErrorLoggerIsOn, ErrorLoggerListener errorLoggerListener)

Functions

getBackButtonsEnabled
Link copied to clipboard
final Boolean getBackButtonsEnabled()
Screen API onlyEnable/disable back buttons in all Activities except ReviewActivity and AnalysisActivity, which always show back buttons.
getCustomHelpItems
Link copied to clipboard
final List<HelpItem.CustomgetCustomHelpItems()
A list of HelpItem.Custom defining the custom help items to be shown in the Help Screen.
getDocumentImportEnabledFileTypes
Link copied to clipboard
final DocumentImportEnabledFileTypes getDocumentImportEnabledFileTypes()
Enable and configure the document import feature or disable it by passing in DocumentImportEnabledFileTypes.NONE.
getErrorLoggerListener
Link copied to clipboard
final ErrorLoggerListener getErrorLoggerListener()
Set an ErrorLoggerListener to be notified of errors.
getEventTracker
Link copied to clipboard
final EventTracker getEventTracker()
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.
getFileImportEnabled
Link copied to clipboard
final Boolean getFileImportEnabled()
Enable/disable the file import feature.
getFlashButtonEnabled
Link copied to clipboard
final Boolean getFlashButtonEnabled()
Enable/disable the flash button in the Camera Screen.
getFlashOnByDefault
Link copied to clipboard
final Boolean getFlashOnByDefault()
Set whether the camera flash is on or off by default.
getGiniErrorLoggerIsOn
Link copied to clipboard
final Boolean getGiniErrorLoggerIsOn()
Set whether the default Gini error logging implementation is on or not.
getMultiPageEnabled
Link copied to clipboard
final Boolean getMultiPageEnabled()
Enable/disable the multi-page feature.
getNetworkApi
Link copied to clipboard
final GiniCaptureNetworkApi getNetworkApi()
Set the GiniCaptureNetworkApi instance which clients can use to request network calls (e.g.
getNetworkService
Link copied to clipboard
final GiniCaptureNetworkService getNetworkService()
Set the GiniCaptureNetworkService instance which will be used by the library to request document related network calls (e.g.
getOnboardingPages
Link copied to clipboard
final List<OnboardingPagegetOnboardingPages()
Set custom pages to be shown in the Onboarding Screen.
getQrCodeScanningEnabled
Link copied to clipboard
final Boolean getQrCodeScanningEnabled()
Enable/disable the QRCode scanning feature.
getReturnAssistantEnabled
Link copied to clipboard
final Boolean getReturnAssistantEnabled()
Enable/disable the return assistant feature.
getShowOnboarding
Link copied to clipboard
final Boolean getShowOnboarding()
Screen API onlyWhen enabled shows the Onboarding Screen every time the CameraActivity starts.
getShowOnboardingAtFirstRun
Link copied to clipboard
final Boolean getShowOnboardingAtFirstRun()
Screen API onlyWhen enabled shows the OnboardingActivity the first time the CameraActivity is launched.
getSupportedFormatsHelpScreenEnabled
Link copied to clipboard
final Boolean getSupportedFormatsHelpScreenEnabled()
Enable/disable the Supported Formats help screen.

Properties

backButtonsEnabled
Link copied to clipboard
private final Boolean backButtonsEnabled
Screen API onlyEnable/disable back buttons in all Activities except ReviewActivity and AnalysisActivity, which always show back buttons.
customHelpItems
Link copied to clipboard
private final List<HelpItem.CustomcustomHelpItems
A list of HelpItem.Custom defining the custom help items to be shown in the Help Screen.
documentImportEnabledFileTypes
Link copied to clipboard
private final DocumentImportEnabledFileTypes documentImportEnabledFileTypes
Enable and configure the document import feature or disable it by passing in DocumentImportEnabledFileTypes.NONE.
errorLoggerListener
Link copied to clipboard
private final ErrorLoggerListener errorLoggerListener
Set an ErrorLoggerListener to be notified of errors.
eventTracker
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.
fileImportEnabled
Link copied to clipboard
private final Boolean fileImportEnabled
Enable/disable the file import feature.
flashButtonEnabled
Link copied to clipboard
private final Boolean flashButtonEnabled
Enable/disable the flash button in the Camera Screen.
flashOnByDefault
Link copied to clipboard
private final Boolean flashOnByDefault
Set whether the camera flash is on or off by default.
giniErrorLoggerIsOn
Link copied to clipboard
private final Boolean giniErrorLoggerIsOn
Set whether the default Gini error logging implementation is on or not.
multiPageEnabled
Link copied to clipboard
private final Boolean multiPageEnabled
Enable/disable the multi-page feature.
networkApi
Link copied to clipboard
private final GiniCaptureNetworkApi networkApi
Set the GiniCaptureNetworkApi instance which clients can use to request network calls (e.g.
networkService
Link copied to clipboard
private final GiniCaptureNetworkService networkService
Set the GiniCaptureNetworkService instance which will be used by the library to request document related network calls (e.g.
onboardingPages
Link copied to clipboard
private final List<OnboardingPageonboardingPages
Set custom pages to be shown in the Onboarding Screen.
qrCodeScanningEnabled
Link copied to clipboard
private final Boolean qrCodeScanningEnabled
Enable/disable the QRCode scanning feature.
returnAssistantEnabled
Link copied to clipboard
private final Boolean returnAssistantEnabled
Enable/disable the return assistant feature.
showOnboarding
Link copied to clipboard
private final Boolean showOnboarding
Screen API onlyWhen enabled shows the Onboarding Screen every time the CameraActivity starts.
showOnboardingAtFirstRun
Link copied to clipboard
private final Boolean showOnboardingAtFirstRun
Screen API onlyWhen enabled shows the OnboardingActivity the first time the CameraActivity is launched.
supportedFormatsHelpScreenEnabled
Link copied to clipboard
private final Boolean supportedFormatsHelpScreenEnabled
Enable/disable the Supported Formats help screen.