MBBlinkIdOverlayViewControllerDelegate
Objective-C
@protocol MBBlinkIdOverlayViewControllerDelegate <NSObject>
Swift
protocol MBBlinkIdOverlayViewControllerDelegate : NSObjectProtocol
Protocol for obtaining scanning results
-
Scanning library did output scanning results
Depending on how you want to treat the result, you might want to dismiss the scanningViewController here.
This method is the default way for getting access to results of scanning.
Note:
- there may be 0, 1, or more than one scanning results.
- each scanning result belongs to a common MBRecognizerResult type
handle different types differently
Declaration
Objective-C
- (void) blinkIdOverlayViewControllerDidFinishScanning: (nonnull MBBlinkIdOverlayViewController *)blinkIdOverlayViewController state: (MBRecognizerResultState)state;
Swift
func blinkIdOverlayViewControllerDidFinishScanning(_ blinkIdOverlayViewController: MBBlinkIdOverlayViewController, state: MBRecognizerResultState)
Parameters
blinkIdOverlayViewController
blinkIdOverlayViewController Scanning view controller responsible for scanning
state
state of scanning
-
Scanning library was closed, usually by the user pressing close button and cancelling the scan
Declaration
Objective-C
- (void)blinkIdOverlayViewControllerDidTapClose: (nonnull MBBlinkIdOverlayViewController *)blinkIdOverlayViewController;
Swift
func blinkIdOverlayViewControllerDidTapClose(_ blinkIdOverlayViewController: MBBlinkIdOverlayViewController)
Parameters
blinkIdOverlayViewController
Scanning view controller responsible for scanning
-
Called when scanning library finished scanning first side of the document
Declaration
Objective-C
- (void)blinkIdOverlayViewControllerDidFinishScanningFirstSide: (nonnull MBBlinkIdOverlayViewController *)blinkIdOverlayViewController;
Swift
optional func blinkIdOverlayViewControllerDidFinishScanningFirstSide(_ blinkIdOverlayViewController: MBBlinkIdOverlayViewController)
Parameters
blinkIdOverlayViewController
blinkIdOverlayViewController Scanning view controller responsible for scanning
-
Called when data match alert was shown.
Declaration
Objective-C
- (void)blinkIdOverlayViewControllerDidShowDataMatchFailedAlert: (nonnull MBBlinkIdOverlayViewController *)blinkIdOverlayViewController;
Swift
optional func blinkIdOverlayViewControllerDidShowDataMatchFailedAlert(_ blinkIdOverlayViewController: MBBlinkIdOverlayViewController)
Parameters
blinkIdOverlayViewController
blinkIdOverlayViewController Scanning view controller responsible for scanning
-
Called when back side scan timeout alert was shown.
Declaration
Objective-C
- (void)blinkIdOverlayViewControllerDidShowBackSideScanTimeoutAlert: (nonnull MBBlinkIdOverlayViewController *)blinkIdOverlayViewController;
Swift
optional func blinkIdOverlayViewControllerDidShowBackSideScanTimeoutAlert(_ blinkIdOverlayViewController: MBBlinkIdOverlayViewController)
Parameters
blinkIdOverlayViewController
blinkIdOverlayViewController Scanning view controller responsible for scanning