SBSDKGenericDocumentField
@interface SBSDKGenericDocumentField : NSObject
A generic documents field.
-
The type of the field.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SBSDKGenericDocumentFieldType *type;
Swift
var type: SBSDKGenericDocumentFieldType { get set }
-
Optional value of the field. Applicable only to text fields.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKGenericDocumentOcrResult *value;
Swift
var value: SBSDKGenericDocumentOcrResult? { get set }
-
Image crop of the field.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIImage *image;
Swift
var image: UIImage? { get set }
-
Field validation status. Applicable only to fields that support some kind of validation.
Declaration
Objective-C
@property SBSDKGenericDocumentFieldValidationStatus validationStatus;
Swift
var validationStatus: SBSDKGenericDocumentFieldValidationStatus { get set }