SBSDKUIIDCardScannerBehaviorConfiguration
@interface SBSDKUIIDCardScannerBehaviorConfiguration : NSObject
Subconfiguration for the behavior of ID card scanner.
-
Whether the torch light is toggled on or off.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isFlashEnabled) BOOL flashEnabled;
Swift
var isFlashEnabled: Bool { get set }
-
Defines, if signature image should be stored in internal storage (
SBSDKUIIDCardStorage
) on disk.- If set to
NO
, the result cardSBSDKIDCard
, that returns inSBSDKUIIDCardScannerViewControllerDelegate
will not havesignatureImageURL
. - Defaults to
NO
.
Declaration
Objective-C
@property (nonatomic) BOOL shouldSaveSignatureImageInStorage;
Swift
var shouldSaveSignatureImageInStorage: Bool { get set }
- If set to
-
Defines, if photo image should be stored in internal storage (
SBSDKUIIDCardStorage
) on disk.- If set to
NO
, the result cardSBSDKIDCard
, that returns inSBSDKUIIDCardScannerViewControllerDelegate
will not havephotoImageURL
. - Defaults to
NO
.
Declaration
Objective-C
@property (nonatomic) BOOL shouldSavePhotoImageInStorage;
Swift
var shouldSavePhotoImageInStorage: Bool { get set }
- If set to