SBSDKUIScanDocumentPageWorkflowStep

@interface SBSDKUIScanDocumentPageWorkflowStep : SBSDKUIWorkflowStep

A ‘SBSDKUIWorkflowStep’ subclass specialized on capturing documents from high-res still images.

  • Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Not available.

    Declaration

    Objective-C

    + (nonnull instancetype)new;
  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)
               initWithTitle:(nullable NSString *)title
                     message:(nullable NSString *)message
        requiredAspectRatios:
            (nullable NSArray<SBSDKPageAspectRatio *> *)requiredAspectRatios
          pagePostProcessing:
              (nullable SBSDKUIScanPagePostProcessingHandler)pagePostProcessHandler
            resultValidation:(nullable SBSDKUIWorkflowStepValidationHandler)
                                 resultValidationHandler;

    Swift

    init(title: String?, message: String?, requiredAspectRatios: [SBSDKPageAspectRatio]?, pagePostProcessing pagePostProcessHandler: SBSDKUIScanPagePostProcessingHandler?, resultValidation resultValidationHandler: SBSDKUIWorkflowStepValidationHandler? = nil)

    Parameters

    title

    The title being displayed in the ‘SBSDKUIWorkflowScannerViewController’ while it processes the receiver.

    message

    A message being displayed in the ‘SBSDKUIWorkflowScannerViewController’ while it processes the receiver.

    requiredAspectRatios

    An array of required aspect ratios if this step uses document detection.

    pagePostProcessHandler

    A block to post-process the scanned page without subclassing.

    resultValidationHandler

    A block to validate the results of the receiver.