MBCDebugRecognizerRunnerViewControllerDelegate

Objective-C

@protocol MBCDebugRecognizerRunnerViewControllerDelegate <NSObject>

Swift

protocol MBCDebugRecognizerRunnerViewControllerDelegate : NSObjectProtocol

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<MBCRecognizerRunnerViewController> *)
                    recognizerRunnerViewController
                       didOutputDebugImage:(nonnull MBCImage *)image;

    Swift

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

    Swift

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