Gini Capture SDK provides various features you can enable. All of them are configured through GiniConfiguration.shared
instance. Specifically, the GiniConfiguration
is used to configure the Gini Capture SDK. For Gini Capture SDK used GiniConfiguration.shared()
singleton.
...
Info |
---|
If there are conflicting pairs of image and text for an interface element (e.g. navigationBarCameraTitleCloseButton ) the image will always be preferred, while making sure the accessibility label is set. |
...
...
Expand |
---|
|
Singleton to make Makes configuration internally accessible in all classes of the Gini Capture SDK. Code Block |
---|
public static var shared: GiniConfiguration |
|
Expand |
---|
title | GiniCaptureImportFileTypes |
---|
|
Supported document types by Gini Capture SDK. Code Block |
---|
| @objc
public enum GiniCaptureImportFileTypes : Int |
none
pdf
pdf_and_images
Code Block |
---|
| case pdf_and_images |
|
General options
Expand |
---|
title | customDocumentValidations |
---|
|
Sets custom validations that can be done apart from the default ones (file size, file type…). It should throw a CustomDocumentValidationError error. Code Block |
---|
| @objc
public var customDocumentValidations: ((GiniCaptureDocument) -> CustomDocumentValidationResult) |
|
Button configuration options
...
Here you can find an example implementation.