SBSDKMedicalCertificateRecognizerResult
@interface SBSDKMedicalCertificateRecognizerResult : NSObject
This class describes the results of a medical certificate recognition.
-
The form type of medical certificate.
Declaration
Objective-C
@property (nonatomic) SBSDKMedicalCertificateRecognizerFormType formType;
Swift
var formType: SBSDKMedicalCertificateRecognizerFormType { get set }
-
Array of patient information fields
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<SBSDKMedicalCertificateRecognizerResultPatientField *> *patientFields;
Swift
var patientFields: [SBSDKMedicalCertificateRecognizerResultPatientField]? { get set }
-
Array of found checkboxes
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<SBSDKMedicalCertificateRecognizerCheckboxResult *> *checkboxes;
Swift
var checkboxes: [SBSDKMedicalCertificateRecognizerCheckboxResult]? { get set }
-
Array of found dates
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<SBSDKMedicalCertificateRecognizerDateResult *> *dates;
Swift
var dates: [SBSDKMedicalCertificateRecognizerDateResult]? { get set }
-
Defines whether recognition was successful
Declaration
Objective-C
@property (nonatomic) BOOL recognitionSuccessful;
Swift
var recognitionSuccessful: Bool { get set }
-
A photo of the medical certificate.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIImage *image;
Swift
var image: UIImage? { get set }
-
Declaration
Objective-C
- (nullable NSString *)stringForFormType;
Swift
func stringForFormType() -> String?
Return Value
Human readable english text for the receivers form type.
-
Declaration
Objective-C
- (nullable NSString *)stringForCheckboxResultType: (nonnull SBSDKMedicalCertificateRecognizerCheckboxResult *)checkbox;
Swift
func string(forCheckboxResultType checkbox: SBSDKMedicalCertificateRecognizerCheckboxResult) -> String?
Parameters
checkbox
A medical certificates checkbox result.
Return Value
Human readable english text for the given checkbox’ type.
-
Declaration
Objective-C
- (nullable NSString *)stringForDateResultType: (nonnull SBSDKMedicalCertificateRecognizerDateResult *)date;
Swift
func string(forDateResultType date: SBSDKMedicalCertificateRecognizerDateResult) -> String?
Parameters
date
A medical certificates date result.
Return Value
Human readable english text for the given date`s type.
-
Declaration
Objective-C
- (nullable NSString *)stringForPatientFieldType: (nonnull SBSDKMedicalCertificateRecognizerResultPatientField *)patientField;
Swift
func string(forPatientFieldType patientField: SBSDKMedicalCertificateRecognizerResultPatientField) -> String?
Parameters
patientField
A medical certificates patients field.
Return Value
Human readable english text for the given patient fields type.
-
Declaration
Objective-C
- (nonnull NSString *)stringRepresentation;
Swift
func stringRepresentation() -> String
Return Value
Human readable english text for the entire medical certificate.