Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol Diffable
-
Delegate to inform the reveiver about the current status of the Gini Capture SDK. Makes use of callbacks for handling incoming data and to control view controller presentation.
See moreDeclaration
Swift
@objc public protocol GiniCaptureDelegate
-
Undocumented
See moreDeclaration
Swift
public protocol LocalizableStringResource
-
Undocumented
See moreDeclaration
Swift
@objc public protocol PreferredButtonResource
-
Undocumented
See moreDeclaration
Swift
@objc public protocol GiniLogger
-
Undocumented
See moreDeclaration
Swift
public protocol GiniCaptureErrorLoggerDelegate : AnyObject
-
Document processed by the GiniCapture library.
See moreDeclaration
Swift
@objc public protocol GiniCaptureDocument
-
Undocumented
See moreDeclaration
Swift
public protocol GiniCaptureError : Error
-
Delegate which can be used to communicate back to the analysis screen allowing to display custom messages on screen.
See moreDeclaration
Swift
@objc public protocol AnalysisDelegate
-
Adapter for injecting a custom loading indicator for the analysis viewcontroller.
See moreDeclaration
Swift
public protocol CustomLoadingIndicatorAdapter : InjectedViewAdapter
-
Protocol for injecting a custom bottom navigation bar on the camera screen.
Note
Bottom navigation only.Declaration
Swift
public protocol CameraBottomNavigationBarAdapter : InjectedViewAdapter
-
Undocumented
See moreDeclaration
Swift
@objc public protocol CameraScreen : UIViewController, CameraTips
-
Undocumented
See moreDeclaration
Swift
@objc public protocol CameraTips
-
The CameraViewControllerDelegate protocol defines methods that allow you to handle captured images and user actions.
See moreDeclaration
Swift
@objc public protocol CameraViewControllerDelegate
-
The CameraViewControllerDelegate protocol defines methods that allow you to handle picked documents from both Gallery and Files Explorer.
See moreDeclaration
Swift
public protocol DocumentPickerCoordinatorDelegate : AnyObject
-
Protocol for injecting a custom bottom navigation bar on the image picker screen.
Note
Bottom navigation only.Declaration
Swift
public protocol ImagePickerBottomNavigationBarAdapter : InjectedViewAdapter
-
Protocol for injecting a custom bottom navigation bar on the help screens.
Note
Bottom navigation only.Declaration
Swift
public protocol HelpBottomNavigationBarAdapter : InjectedViewAdapter
-
Adapter for injectable views. It allows clients to inject their own views into our layouts.
See moreDeclaration
Swift
public protocol InjectedViewAdapter
-
Adapter for injecting a custom onboarding illustration with a custom animation for the onboarding page.
See moreDeclaration
Swift
public protocol OnboardingIllustrationAdapter : InjectedViewAdapter
-
Protocol for injecting a custom bottom navigation bar on the onboarding screen.
Note
Bottom navigation only.Declaration
Swift
public protocol OnboardingNavigationBarBottomAdapter : InjectedViewAdapter
-
Adapter for injecting a custom loading indicator on top of buttons.
See moreDeclaration
Swift
public protocol OnButtonLoadingIndicatorAdapter : InjectedViewAdapter
-
Protocol for injecting a custom bottom navigation bar on the Review screen.
Note
Bottom navigation only.Declaration
Swift
public protocol ReviewScreenBottomNavigationBarAdapter : InjectedViewAdapter
-
The ReviewViewControllerDelegate protocol defines methods that allow you to handle user actions in the ReviewViewControllerDelegate (tap add, delete…
See moreDeclaration
Swift
public protocol ReviewViewControllerDelegate : AnyObject
-
The UploadDelegate protocol defines methods that allow you to notify the Gini Capture SDK when a document upload has finished (either successfully or with an error)
See moreDeclaration
Swift
@objc public protocol UploadDelegate
-
Delegate protocol that Gini Capture SDK uses to report user events. Implement the delegate methods and pass the delegate to
GiniCapture.viewController()
when initializing Gini Capture SDK.The delegate is separated into smaller protocols relating to different parts of Gini Capture SDK.
Note
The delegate isn’t retained by Gini Capture SDK. It should be retained by the client code.Declaration
Swift
public protocol GiniCaptureTrackingDelegate: OnboardingScreenTrackingDelegate, CameraScreenTrackingDelegate, ReviewScreenTrackingDelegate, AnalysisScreenTrackingDelegate
-
Tracking delegate relating to onboarding.
See moreDeclaration
Swift
public protocol OnboardingScreenTrackingDelegate : AnyObject
-
Tracking delegate relating to the camera screen.
See moreDeclaration
Swift
public protocol CameraScreenTrackingDelegate : AnyObject
-
Tracking delegate relating to the review screen.
See moreDeclaration
Swift
public protocol ReviewScreenTrackingDelegate : AnyObject
-
Tracking delegate relating to the analysis screen.
See moreDeclaration
Swift
public protocol AnalysisScreenTrackingDelegate : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol DocumentServiceProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol GiniCaptureNetworkService : AnyObject
-
The GiniCaptureResultsDelegate protocol defines methods that allow you to handle the analysis result.
See moreDeclaration
Swift
@objc public protocol GiniCaptureResultsDelegate