SBSDKUIMedicalCertificateScannerBehaviorConfiguration

@interface SBSDKUIMedicalCertificateScannerBehaviorConfiguration : NSObject

Configuration for the behavior of medical certificates scanner.

  • Whether flash is toggled on or off. The default value is NO.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isFlashEnabled) BOOL flashEnabled;

    Swift

    var isFlashEnabled: Bool { get set }
  • Whether the information of the patient (name, address) is extracted or not. The default value is YES.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isPatientInfoExtracted) BOOL extractPatientInfo;

    Swift

    var isPatientInfoExtracted: Bool { get set }
  • If set to YES a high-resolution photo of the medical certificate is captured to run the recognition on. Upon successful recognition the recognition result also contains a high-resolution image of the medical certificate. If set to NO, the video frames will be used for recognition and result image delivery. The default value is YES.

    Declaration

    Objective-C

    @property (nonatomic) BOOL captureHighResolutionImage;

    Swift

    var captureHighResolutionImage: Bool { get set }