AnalysisDelegate
@objc
public protocol AnalysisDelegate
                Delegate which can be used to communicate back to the analysis screen allowing to display custom messages on screen.
Note
Screen 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.
Declaration
Swift
func displayError(withMessage message: String?, andAction action: (() -> Void)?)Parameters
messageThe error message to be displayed.
actionThe action to be performed after the user tapped the error view.
 - 
                  
                  
In case that the
GiniCaptureDocumentanalysed 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, returnfalsein that case.Declaration
Swift
func tryDisplayNoResultsScreen() -> BoolReturn Value
trueif the screen was shown orfalseif it wasn’t. 
    
        
            View on GitHub
          
      AnalysisDelegate Protocol Reference