GiniCaptureResultsDelegate
@objc
public protocol GiniCaptureResultsDelegate
The GiniCaptureResultsDelegate protocol defines methods that allow you to handle the analysis result.
-
Called when the analysis finished with results
Declaration
Swift
func giniCaptureAnalysisDidFinishWith(result: AnalysisResult, sendFeedbackBlock: @escaping ([String: Extraction]) -> Void)
Parameters
result
Contains the analysis result
sendFeedbackBlock
Block used to send feeback once the results have been corrected
-
Called when the analysis finished without results.
Declaration
Swift
func giniCaptureAnalysisDidFinishWithoutResults(_ showingNoResultsScreen: Bool)
Parameters
showingNoResultsScreen
Indicated if the
ImageAnalysisNoResultsViewController
has been shown -
Called when the analysis was cancelled.
Declaration
Swift
func giniCaptureDidCancelAnalysis()