Builder
public class Builder
Content copied to clipboard
Builder for GiniVision. To get an instance call newInstance.
Functions
build
Link copied to clipboard
void build()
Content copied to clipboard
Create a new GiniVision instance.
set Back Buttons Enabled
Link copied to clipboard
Screen API only Enable/disable back buttons in all Activities except ReviewActivity and AnalysisActivity, which always show back buttons.
set Custom Onboarding Pages
Link copied to clipboard
@NonNull()
Content copied to clipboard
Set custom pages to be shown in the Onboarding Screen.
set Document Import Enabled File Types
Link copied to clipboard
@NonNull()
Content copied to clipboard
Enable and configure the document import feature or disable it by passing in NONE.
set Event Tracker
Link copied to clipboard
Set the 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 Gini Vision Library.
set File Import Enabled
Link copied to clipboard
@NonNull()
Content copied to clipboard
Enable/disable the file import feature.
set Flash Button Enabled
Link copied to clipboard
Enable/disable the flash button in the Camera Screen.
set Flash On By Default
Link copied to clipboard
Set whether the camera flash is on or off by default.
set Gini Vision Network Api
Link copied to clipboard
@NonNull()
Content copied to clipboard
Set the GiniVisionNetworkApi instance which clients can use to request network calls (e.g.
set Gini Vision Network Service
Link copied to clipboard
@NonNull()
Content copied to clipboard
Set the GiniVisionNetworkService instance which will be used by the library to request document related network calls (e.g.
set Multi Page Enabled
Link copied to clipboard
Enable/disable the multi-page feature.
set QRCode Scanning Enabled
Link copied to clipboard
@NonNull()
Content copied to clipboard
Enable/disable the QRCode scanning feature.
set Should Show Onboarding
Link copied to clipboard
@NonNull()
Content copied to clipboard
Screen API only Set to
true
to show the Onboarding Screen every time the CameraActivity starts.set Should Show Onboarding At First Run
Link copied to clipboard
@NonNull()
Content copied to clipboard
Screen API only Set to
false
to disable automatically showing the OnboardingActivity the first time the CameraActivity is launched - we highly recommend letting the Gini Vision Library show the OnboardingActivity at first run.set Supported Formats Help Screen Enabled
Link copied to clipboard
Enable/disable the Supported Formats help screen.