GiniVisionResultsDelegate
@objc
public protocol GiniVisionResultsDelegate
The GiniVisionResultsDelegate protocol defines methods that allow you to handle the analysis result.
-
Called when the analysis finished with results
Declaration
Swift
func giniVisionAnalysisDidFinishWith(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 giniVisionAnalysisDidFinishWithoutResults(_ showingNoResultsScreen: Bool)
Parameters
showingNoResultsScreen
Indicated if the
ImageAnalysisNoResultsViewController
has been shown -
Called when the analysis was cancelled.
Declaration
Swift
func giniVisionDidCancelAnalysis()