Enumerations

The following enumerations are available globally.

  • The status of the latest document detection.

    See more

    Declaration

    Objective-C

    enum SBSDKDocumentDetectionStatus {}

    Swift

    struct SBSDKDocumentDetectionStatus : Equatable, RawRepresentable
  • The ScanbotSDK image filter types.

    See more

    Declaration

    Objective-C

    enum SBSDKImageFilterType {}

    Swift

    struct SBSDKImageFilterType : Equatable, RawRepresentable
  • When an OCR operation finishes it returns an array of result blocks containing e.g. the position and type of recognized text. Each of the result blocks has a specific type.

    See more

    Declaration

    Objective-C

    enum SBSDKOCRResultBlockType {}

    Swift

    enum SBSDKOCRResultBlockType : UInt
  • This enum describes the available orentiation lock modes for image capturing. All modes work independently from the user interface orientation.

    See more

    Declaration

    Objective-C

    enum SBSDKOrientationLock {}
  • Specifies the desired page size (media box size) for PDF rendering operations.

    See more

    Declaration

    Objective-C

    enum SBSDKPDFRendererPageSize {}

    Swift

    enum SBSDKPDFRendererPageSize : UInt
  • Part of the page layout analyis result. Describes the detected orientation of the text.

    See more

    Declaration

    Objective-C

    enum SBSDKPageOrientation {}

    Swift

    enum SBSDKPageOrientation : UInt
  • Part of the page layout analyis result. Describes the reading direction of the text independently from the orientation. Note: Experimental - this is currently not always working correctly for top-to-bottom text.

    See more

    Declaration

    Objective-C

    enum SBSDKWritingDirection {}

    Swift

    enum SBSDKWritingDirection : UInt
  • Part of the page layout analyis result. Describes the order of columns in top-to-bottom writing direction resp. of rows in left-right and right-left direction.

    See more

    Declaration

    Objective-C

    enum SBSDKTextlineOrder {}

    Swift

    enum SBSDKTextlineOrder : UInt
  • An enumeration describing the types of tokens the SBSDKPayFormScanner can detect and recognize.

    See more

    Declaration

    Objective-C

    enum SBSDKPayFormTokenType {}

    Swift

    enum SBSDKPayFormTokenType : Int
  • An enum describing the orientation of a polygon edge.

    See more

    Declaration

    Objective-C

    enum SBSDKPolygonEdgeOrientation {}

    Swift

    enum SBSDKPolygonEdgeOrientation : UInt
  • An enumeration that represents resource type.

    See more

    Declaration

    Objective-C

    enum SBSDKResourceType {}

    Swift

    enum SBSDKResourceType : UInt
  • This enum describes the possible modes of the cameras shutter. Automatic shutter means, a photo is taken automatically if a document was detected in the video stream. The smart mode is the default mode. Whenever the automatic shutter is toggled the delegate of SBSDKScannerViewController is informed. You can also the query the autoShutterEnabled property. The default shutter button reflects this mode.

    See more

    Declaration

    Objective-C

    enum SBSDKShutterMode {}

    Swift

    enum SBSDKShutterMode : Int
  • This enum describes the possible modes of the view finder during scanning.

    See more

    Declaration

    Objective-C

    enum SBSDKFinderMode {}

    Swift

    enum SBSDKFinderMode : Int
  • The ScanbotSDK text orientation types.

    See more

    Declaration

    Objective-C

    enum SBSDKTextOrientation {}

    Swift

    struct SBSDKTextOrientation : Equatable, RawRepresentable