MBGlareRecognizerRunnerDelegate

@protocol MBGlareRecognizerRunnerDelegate <NSObject>
@required

/**
 * Called when scanning library finishes glare detection.
 * NOTE: This method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
 */
- (void) recognizerRunner:(nonnull MBRecognizerRunner *)recognizerRunner didFinishGlareDetectionWithResult:(BOOL)glareFound;
@end

Undocumented

  • Called when scanning library finishes glare detection. 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
        didFinishGlareDetectionWithResult:(BOOL)glareFound;

    Swift

    func recognizerRunner(_ recognizerRunner: MBRecognizerRunner, didFinishGlareDetectionWithResult glareFound: Any!)