SBSDKUIVINScannerBehaviorConfiguration
@interface SBSDKUIVINScannerBehaviorConfiguration : NSObject
Configuration for the behavior of vehicle identification number scanner.
-
Whether flash is toggled on or off.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isFlashEnabled) BOOL flashEnabled;
Swift
var isFlashEnabled: Bool { get set }
-
Maximum image side length (height or width) for OCR processing. If the initial image has longer side - it will be downscaled to the limit. Setting to
0
means no limit. Default is 0. Using this parameter might be useful for slower devices or to reduce processing load.Declaration
Objective-C
@property (nonatomic) NSUInteger ocrResolutionLimit;
Swift
var ocrResolutionLimit: UInt { get set }
-
The maximum number of accumulated video frames before the current recognition result is returned. Default is 3.
Declaration
Objective-C
@property (nonatomic) NSUInteger maximumNumberOfAccumulatedFrames;
Swift
var maximumNumberOfAccumulatedFrames: UInt { get set }
-
The minimum equal results in accumulated video frames to count as valid. Default is 2.
Declaration
Objective-C
@property (nonatomic) NSUInteger minimumNumberOfRequiredFramesWithEqualRecognitionResult;
Swift
var minimumNumberOfRequiredFramesWithEqualRecognitionResult: UInt { get set }