SBSDKUINFCPassportReaderBehaviorConfiguration
@interface SBSDKUINFCPassportReaderBehaviorConfiguration : NSObject
Configuration for the behavior of NFC reader.
-
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 }
-
Whether scanner screen should make a sound on successful MRZ detection.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isSuccessBeepEnabled) BOOL successBeepEnabled;
Swift
var isSuccessBeepEnabled: Bool { get set }
-
Defines, if photo image should be stored in internal storage (
SBSDKUINFCPassportReaderStorage
) on disk.- If set to
NO
, the resultSBSDKUINFCPassportReaderResult
, that returns inSBSDKUINFCPassportReaderViewControllerDelegate
will not havephotoURL
. - Defaults to
NO
.
Declaration
Objective-C
@property (nonatomic) BOOL shouldSavePhotoImageInStorage;
Swift
var shouldSavePhotoImageInStorage: Bool { get set }
- If set to