MBDebugRecognizerRunnerDelegate

@protocol MBDebugRecognizerRunnerDelegate <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)recognizerRunner:(nonnull MBRecognizerRunner *)recognizerRunner
         didOutputDebugImage:(nonnull MBImage *)image;

    Swift

    optional func recognizerRunner(_ recognizerRunner: MBRecognizerRunner, 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)recognizerRunner:(nonnull MBRecognizerRunner *)recognizerRunner
          didOutputDebugText:(nonnull NSString *)text;

    Swift

    optional func recognizerRunner(_ recognizerRunner: MBRecognizerRunner, didOutputDebugText text: Any!)