ReviewViewControllerDelegate
public protocol ReviewViewControllerDelegate : AnyObject
The ReviewViewControllerDelegate protocol defines methods that allow you to handle user actions in the ReviewViewControllerDelegate (tap add, delete…
-
Called when a user deletes one of the pages.
Declaration
Swift
func review(_ viewController: ReviewViewController, didDelete page: GiniCapturePage)
Parameters
viewController
ReviewViewController
where the pages are reviewed.page
Page deleted.
-
Called when a user taps on the error action when the errored page
Declaration
Swift
func review(_ viewController: ReviewViewController, didTapRetryUploadFor page: GiniCapturePage)
Parameters
viewController
ReviewViewController
where the pages are reviewed.errorAction
NoticeActionType
selected.page
Page where the error action has been triggered
-
Called when a user taps on the add page button
Declaration
Swift
func reviewDidTapAddImage(_ viewController: ReviewViewController)
Parameters
viewController
ReviewViewController
where the pages are reviewed. -
Called when a user taps on the process documents button
Declaration
Swift
func reviewDidTapProcess(_ viewController: ReviewViewController)
Parameters
viewController
ReviewViewController
where the pages are reviewed. -
Called when a user taps on a page
Declaration
Swift
func review(_ viewController: ReviewViewController, didSelectPage page: GiniCapturePage)
Parameters
viewController
ReviewViewController
where the pages are reviewed.page
Page that the user selected