Constants

The following constants are available globally.

  • The progress describes a text recognition operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SBSDKProgressKindTextRecognition

    Swift

    let SBSDKProgressKindTextRecognition: String
  • The progress describes a document/PDF creation operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SBSDKProgressKindCreatePages

    Swift

    let SBSDKProgressKindCreatePages: String
  • The progress describes an image processing operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SBSDKProgressKindProcessImage

    Swift

    let SBSDKProgressKindProcessImage: String
  • NSURL: the operations source file.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoSourceFileURLKey

    Swift

    let SBSDKResultInfoSourceFileURLKey: UnsafeMutablePointer<Int32>
  • NSURL: the operations destination file.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoDestinationFileURLKey

    Swift

    let SBSDKResultInfoDestinationFileURLKey: UnsafeMutablePointer<Int32>
  • UIImage: the operations destination or output image.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoDestinationImageKey

    Swift

    let SBSDKResultInfoDestinationImageKey: UnsafeMutablePointer<Int32>
  • SBSDKOCRResult: the result of a text recognition operation.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoOCRResultsKey

    Swift

    let SBSDKResultInfoOCRResultsKey: UnsafeMutablePointer<Int32>
  • SBSDKPageAnalyzerResult: the result of a page layout analysis operation.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoPageAnalyzerResultsKey

    Swift

    let SBSDKResultInfoPageAnalyzerResultsKey: UnsafeMutablePointer<Int32>
  • SBSDKImageStorage: source image storage for operations on multiple images.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKResultInfoImageStorageKey

    Swift

    let SBSDKResultInfoImageStorageKey: UnsafeMutablePointer<Int32>
  • The constant SBSDK error domain string.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKErrorDomain

    Swift

    let SBSDKErrorDomain: UnsafeMutablePointer<Int32>
  • The key for an NSError userInfo dictionary that contains the reason for the error.

    Declaration

    Objective-C

    extern NSString *_Nonnull const SBSDKErrorReasonKey

    Swift

    let SBSDKErrorReasonKey: UnsafeMutablePointer<Int32>