SBSDKUIWorkflowStepResult
@interface SBSDKUIWorkflowStepResult : NSObject
This class represents the result of one workflow step
-
The workflow step the receiver belongs to.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) SBSDKUIWorkflowStep *step;
Swift
var step: SBSDKUIWorkflowStep { get }
-
If the validation of the workflow step returns an error, it is stored here. Nil if validation was successful.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSError *validationError;
Swift
var validationError: Error? { get }
-
The high-res still image, if the step requested one.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKUIPage *capturedPage;
Swift
var capturedPage: SBSDKUIPage? { get set }
-
The low-res video frame image, if the step requested one.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKUIPage *videoFramePage;
Swift
var videoFramePage: SBSDKUIPage? { get set }
-
Array of detected machine readable codes, if the step requested them.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<SBSDKBarcodeScannerResult *> *barcodeResults;
Swift
var barcodeResults: [SBSDKBarcodeScannerResult]? { get set }
-
The machine readable zone recognition result, if requested by the step.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKMachineReadableZoneRecognizerResult *mrzResult;
Swift
var mrzResult: SBSDKMachineReadableZoneRecognizerResult? { get set }
-
The medical certificate recognition result, if requested by the step.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKMedicalCertificateRecognizerResult *disabilityCertificateResult;
Swift
var disabilityCertificateResult: SBSDKMedicalCertificateRecognizerResult? { get set }
-
The payform recognition result, if requested by the step.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKPayFormRecognitionResult *payformResult;
Swift
var payformResult: SBSDKPayFormRecognitionResult? { get set }
-
The health insurance card recognition result, if requested by the step.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKHealthInsuranceCardRecognitionResult *ehicResult;
Swift
var ehicResult: SBSDKHealthInsuranceCardRecognitionResult? { get set }
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Not available.
Declaration
Objective-C
+ (nonnull instancetype)new;
-
Designated initializer. Usually you must not create instances of this class, except when you create custom workflow steps.
Declaration
Objective-C
- (nonnull instancetype)initWithStep:(nonnull SBSDKUIWorkflowStep *)step;
Swift
init(step: SBSDKUIWorkflowStep)
Parameters
step
The workflow step this result belongs to.
-
A thumbnail of either the high-res still image or the low-res video frame, depending on what was requested. If none of both was requested thumbnail may be nil.
Declaration
Objective-C
- (nullable UIImage *)thumbnail;
Swift
func thumbnail() -> UIImage?