MBIGlareRecognizerRunnerViewControllerDelegate

@protocol MBIGlareRecognizerRunnerViewControllerDelegate <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) recognizerRunnerViewController:(nonnull UIViewController<MBIRecognizerRunnerViewController> *)recognizerRunnerViewController 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)recognizerRunnerViewController:
                (nonnull UIViewController<MBIRecognizerRunnerViewController> *)
                    recognizerRunnerViewController
         didFinishGlareDetectionWithResult:(BOOL)glareFound;

    Swift

    func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didFinishGlareDetectionWithResult glareFound: Bool)