SBSDKPayFormDetectionResult

@interface SBSDKPayFormDetectionResult : SBSDKPayFormResult

Result class of SBSDKPayFormScanners detector part. Describes wether the image contains a bank transfer form, and if so it also holds the bounding polygon of the form as well as the detected text boxes.

  • YES if a valid bank transfer form was found, NO otherwise.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isValidPayForm;

    Swift

    var isValidPayForm: Bool { get }
  • The boundary polygon whithin the boxes have been detected.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) SBSDKPayFormPolygon *polygon;

    Swift

    var polygon: SBSDKPayFormPolygon { get }
  • The detected text boxes. NSArray of SBSDKPayFormDetectedBox objects.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull)
        NSArray<SBSDKPayFormDetectedBox *> *detectedBoxes;

    Swift

    var detectedBoxes: [SBSDKPayFormDetectedBox] { get }