Protocols

  • Delegate which can be used to communicate back to the analysis screen allowing to display custom messages on screen.

    Note

    Screen API only.
    See more

    Declaration

    Swift

    @objc
    public protocol AnalysisDelegate
  • The CameraViewControllerDelegate protocol defines methods that allow you to handle captured images and user actions.

    Note

    Component API only.
    See more

    Declaration

    Swift

    @objc
    public protocol CameraViewControllerDelegate
  • Undocumented

    See more

    Declaration

    Swift

    public protocol Diffable
  • The CameraViewControllerDelegate protocol defines methods that allow you to handle picked documents from both Gallery and Files Explorer.

    Note

    Component API only.
    See more

    Declaration

    Swift

    public protocol DocumentPickerCoordinatorDelegate : AnyObject
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol GiniLogger
  • Delegate to inform the reveiver about the current status of the Gini Vision Library. Makes use of callbacks for handling incoming data and to control view controller presentation.

    Note

    Screen API only.
    See more

    Declaration

    Swift

    @objc
    public protocol GiniVisionDelegate
  • Document processed by the GiniVision library.

    See more

    Declaration

    Swift

    @objc
    public protocol GiniVisionDocument
  • Undocumented

    See more

    Declaration

    Swift

    public protocol GiniVisionError : Error
  • The GiniVisionResultsDelegate protocol defines methods that allow you to handle the analysis result.

    See more

    Declaration

    Swift

    @objc
    public protocol GiniVisionResultsDelegate
  • The HelpMenuViewControllerDelegate protocol defines methods that allow you to handle table item selection actions.

    Note

    Component API only.
    See more

    Declaration

    Swift

    public protocol HelpMenuViewControllerDelegate : AnyObject
  • The MultipageReviewViewControllerDelegate protocol defines methods that allow you to handle user actions in the MultipageReviewViewControllerDelegate (rotate, reorder, tap add, delete…)

    Note

    Component API only.
    See more

    Declaration

    Swift

    public protocol MultipageReviewViewControllerDelegate : AnyObject
  • The ReviewViewControllerDelegate protocol defines methods that allow you to manage when a user rotates an image.

    Note

    Component API only.
    See more

    Declaration

    Swift

    @objc
    public protocol ReviewViewControllerDelegate
  • The UploadDelegate protocol defines methods that allow you to notify the Gini Vision Library when a document upload has finished (either successfully or with an error)

    See more

    Declaration

    Swift

    @objc
    public protocol UploadDelegate
  • Delegate protocol that GVL uses to report user events. Implement the delegate methods and pass the delegate to GiniVision.viewController() when initializing GVL.

    The delegate is separated into smaller protocols relating to different parts of GVL.

    Note

    The delegate isn’t retained by GVL. It should be retained by the client code.
  • Tracking delegate relating to onboarding.

    See more

    Declaration

    Swift

    public protocol OnboardingScreenTrackingDelegate : AnyObject
  • Tracking delegate relating to the camera screen.

    See more

    Declaration

    Swift

    public protocol CameraScreenTrackingDelegate : AnyObject
  • Tracking delegate relating to the review screen.

    See more

    Declaration

    Swift

    public protocol ReviewScreenTrackingDelegate : AnyObject
  • Tracking delegate relating to the analysis screen.

    See more

    Declaration

    Swift

    public protocol AnalysisScreenTrackingDelegate : AnyObject