MBDebugRecognizerRunnerViewControllerDelegate

@protocol MBDebugRecognizerRunnerViewControllerDelegate <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<MBRecognizerRunnerViewController> *)
                    recognizerRunnerViewController
                       didOutputDebugImage:(nonnull MBImage *)image;

    Swift

    func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didOutputDebugImage image: MBImage)
  • 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<MBRecognizerRunnerViewController> *)
                    recognizerRunnerViewController
                        didOutputDebugText:(nonnull NSString *)text;

    Swift

    func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didOutputDebugText text: String)