SBSDKUINFCPassportReaderBehaviorConfiguration

@interface SBSDKUINFCPassportReaderBehaviorConfiguration : NSObject

Subconfiguration 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.

    Declaration

    Objective-C

    @property (nonatomic) BOOL shouldSavePhotoImageInStorage;

    Swift

    var shouldSavePhotoImageInStorage: Bool { get set }