SBSDKUIScanHealthInsuranceCardWorkflowStep
@interface SBSDKUIScanHealthInsuranceCardWorkflowStep : SBSDKUIWorkflowStep
A ‘SBSDKUIScanHealthInsuranceCardWorkflowStep’ subclass specialized on recognizing health insurance card on low-res video frames (live detection).
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Not available.
Declaration
Objective-C
+ (nonnull instancetype)new;
-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithTitle:(nullable NSString *)title message:(nullable NSString *)message requiredAspectRatios: (nonnull NSArray<SBSDKAspectRatio *> *)requiredAspectRatios resultValidation: (nullable SBSDKUIWorkflowStepValidationHandler) resultValidationHandler;
Swift
init(title: String?, message: String?, requiredAspectRatios: [SBSDKAspectRatio], resultValidation resultValidationHandler: SBSDKUIWorkflowStepValidationHandler? = nil)
Parameters
title
The title being displayed in the ‘SBSDKUIWorkflowScannerViewController’ while it processes the receiver.
message
A message being displayed in the ‘SBSDKUIWorkflowScannerViewController’ while it processes the receiver.
requiredAspectRatios
An array of required aspect ratios if this step uses document detection.
resultValidationHandler
A block to validate the results of the receiver.
-
Set to yes if the images to recognize on are consecutive video frames, set to NO if you want to recognize on a single image. Defaults to YES.
Declaration
Objective-C
@property (nonatomic) BOOL useLiveRecognition;
Swift
var useLiveRecognition: Bool { get set }