MBBlinkIdRecognizerDelegate

@protocol MBBlinkIdRecognizerDelegate <NSObject>
@optional

/**
 * Called when dewarped full document image is available
*/
- (void)onImageAvailable:(nullable MBImage *)dewarpedImage;

/**
 * Called when recognizer classifies document.
 *  @param isDocumentSupported - true if supported, false otherwise
*/
- (void)onDocumentSupportStatus:(BOOL)isDocumentSupported;

/**
 * Called when recognizer classifies document as a supported class.
 * Enables filtering based on class.
 * @param classInfo - classInfo of the document
*/
- (BOOL)classInfoFilter:(nullable MBClassInfo *)classInfo;

/**
 * Called when barcode scanning step starts.
 */
- (void)onBarcodeScanningStarted;

@end

Undocumented

  • Called when dewarped full document image is available

    Declaration

    Objective-C

    - (void)onImageAvailable:(nullable MBImage *)dewarpedImage;

    Swift

    optional func onImageAvailable(_ dewarpedImage: MBImage?)
  • Called when recognizer classifies document.

    Declaration

    Objective-C

    - (void)onDocumentSupportStatus:(BOOL)isDocumentSupported;

    Swift

    optional func onDocumentSupportStatus(_ isDocumentSupported: Bool)

    Parameters

    isDocumentSupported

    - true if supported, false otherwise

  • Called when recognizer classifies document as a supported class. Enables filtering based on class.

    Declaration

    Objective-C

    - (BOOL)classInfoFilter:(nullable MBClassInfo *)classInfo;

    Swift

    optional func classInfoFilter(_ classInfo: MBClassInfo?) -> Bool

    Parameters

    classInfo

    - classInfo of the document

  • Called when barcode scanning step starts.

    Declaration

    Objective-C

    - (void)onBarcodeScanningStarted;

    Swift

    optional func onBarcodeScanningStarted()