MBIDebugRecognizerRunnerViewControllerDelegate
@protocol MBIDebugRecognizerRunnerViewControllerDelegate <NSObject>
Protocol for obtaining debug metadata
-
Scanning library did output debug image NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
Declaration
Objective-C
- (void)recognizerRunnerViewController: (nonnull UIViewController<MBIRecognizerRunnerViewController> *) recognizerRunnerViewController didOutputDebugImage:(nonnull MBIImage *)image;
Swift
func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didOutputDebugImage image: MBIImage)
-
Scanning library did output debug text NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
Declaration
Objective-C
- (void)recognizerRunnerViewController: (nonnull UIViewController<MBIRecognizerRunnerViewController> *) recognizerRunnerViewController didOutputDebugText:(nonnull NSString *)text;
Swift
func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didOutputDebugText text: String)