@objc public protocol AnalysisDelegate
Delegate which can be used to communicate back to the analysis screen allowing to display custom messages on screen.
NoteScreen API only.
Will display an error view on the analysis screen with a custom message. The provided action will be called, when the user taps on the error view.
func displayError(withMessage message: String?, andAction action: (() -> Void)?)
The error message to be displayed.
The action to be performed after the user tapped the error view.
In case that the
GiniVisionDocumentanalysed is an image it will display a no results screen with some capture suggestions. It won’t show any screen if it is not an image, return
falsein that case.
func tryDisplayNoResultsScreen() -> Bool
trueif the screen was shown or
falseif it wasn’t.