NetverifyCustomScanViewControllerDelegate
@protocol NetverifyCustomScanViewControllerDelegate <NSObject>
Protocol that has to be implemented when using a NetverifyCustomScanViewController
-
During the scanning of some ID cards, a legal advice need to be shown.
Declaration
Objective-C
- (void)netverifyCustomScanViewController: (NetverifyCustomScanViewController *_Nonnull)customScanView shouldDisplayLegalAdvice:(NSString *_Nonnull)message completion:(void (^_Nonnull)(void))completion;Swift
func netverifyCustomScanViewController(_ customScanView: NetverifyCustomScanViewController, shouldDisplayLegalAdvice message: String) asyncParameters
customScanViewinstance of the current scanViewController
messagelocalized message that hast to be displayed
completionblock that should be called when user marks the message as read
-
-netverifyCustomScanViewController:shouldDisplayConfirmationWithImageView:type:text:confirmation:retake:For some scan views we advice to show a confirmationView after scanning. In this case this delegate method will be called providing the final image.
Declaration
Objective-C
- (void)netverifyCustomScanViewController: (NetverifyCustomScanViewController *_Nonnull)customScanView shouldDisplayConfirmationWithImageView: (NetverifyConfirmationImageView *_Nonnull)view type:(NetverifyConfirmationType)type text:(NSString *_Nonnull)text confirmation:(void (^_Nullable)(void))confirmation retake:(void (^_Nullable)(void))retake;Swift
func netverifyCustomScanViewController(_ customScanView: NetverifyCustomScanViewController, shouldDisplayConfirmationWith view: NetverifyConfirmationImageView, type: NetverifyConfirmationType, text: String, confirmation: (() -> Void)?, retake: (() -> Void)? = nil)Parameters
customScanViewinstance of the current scanViewController
viewthat draws the image
textlocalized message that should be displayed
confirmationblock that should be called when user confirmed the image
retakeblock that should be called when user hit retry
-
No US Address has been found in the barcode. The scan preview will switch to frontside scanning if available. Check for the changed scan mode and help text. Will only be called on a Fastfill scan.
Declaration
Objective-C
- (void)netverifyCustomScanViewController: (NetverifyCustomScanViewController *_Nonnull)customScanView shouldDisplayNoUSAddressFoundHint:(NSString *_Nonnull)message confirmation:(void (^_Nonnull)(void))confirmation;Swift
func netverifyCustomScanViewController(_ customScanView: NetverifyCustomScanViewController, shouldDisplayNoUSAddressFoundHint message: String, confirmation: @escaping () -> Void)Parameters
customScanViewinstance of the current scanViewController
messagelocalized message that hast to be displayed
confirmationblock that should be called when user marks the message as read
-
Show a activity/loading animation to the user until biometric analysis is finished (usually a few seconds).
Declaration
Objective-C
- (void)netverifyCustomScanViewControllerStartedBiometricAnalysis: (NetverifyCustomScanViewController *_Nonnull)customScanView;Swift
func netverifyCustomScanViewControllerStartedBiometricAnalysis(_ customScanView: NetverifyCustomScanViewController)Parameters
customScanViewinstance of the current scanViewController
-
For scan views we advice to show a help view with the provided animation and message.
Declaration
Objective-C
- (void)netverifyCustomScanViewController: (NetverifyCustomScanViewController *_Nonnull)customScanView shouldDisplayHelpWithText:(NSString *_Nonnull)message animationView:(UIView *_Nonnull)animationView forReason:(JumioFaceRetryReason)retryReason;Swift
func netverifyCustomScanViewController(_ customScanView: NetverifyCustomScanViewController, shouldDisplayHelpWithText message: String, animationView: UIView, for retryReason: JumioFaceRetryReason)Parameters
customScanViewinstance of the current scanViewController
messagelocalized message that should be displayed
animationViewthat draws the help animation
retryReasonwhy the last attempt was unsuccessful
-
Notify the user that the image is blurry and therefore can’t be taken. (Manual image capturing only)
Declaration
Objective-C
- (void)netverifyCustomScanViewController: (NetverifyCustomScanViewController *_Nonnull)customScanView shouldDisplayBlurHint:(NSString *_Nonnull)message;Swift
optional func netverifyCustomScanViewController(_ customScanView: NetverifyCustomScanViewController, shouldDisplayBlurHint message: String)Parameters
customScanViewinstance of the current scanViewController
messagelocalized message that should be displayed
-
Show a activity/loading animation to the user while preparing iProov controller (usually a few seconds).
Declaration
Objective-C
- (void)netverifyCustomScanViewControllerWillPrepareIProovController: (NetverifyCustomScanViewController *_Nonnull)customScanView;Swift
optional func netverifyCustomScanViewControllerWillPrepareIProovController(_ customScanView: NetverifyCustomScanViewController)Parameters
customScanViewinstance of the current scanViewController
-
Hide the activity/loading animation as iProov is ready to be presented.
Declaration
Objective-C
- (void)netverifyCustomScanViewControllerWillPresentIProovController: (NetverifyCustomScanViewController *_Nonnull)customScanView;Swift
optional func netverifyCustomScanViewControllerWillPresentIProovController(_ customScanView: NetverifyCustomScanViewController)Parameters
customScanViewinstance of the current scanViewController
View on GitHub
NetverifyCustomScanViewControllerDelegate Protocol Reference