SBSDKDocumentDetectorMode

enum SBSDKDocumentDetectorMode : NSInteger {}

The mode of the document detector: standard or machine-learning-based.

  • The standard detection mode.

    Declaration

    Objective-C

    SBSDKDocumentDetectorModeStandard = 0

    Swift

    case standard = 0
  • The new machine-learning based detection mode.

    Declaration

    Objective-C

    SBSDKDocumentDetectorModeMachineLearning = 1

    Swift

    case machineLearning = 1
  • The new machine-learning based detection mode without the usage of CoreML. This mode is used in iOS versions prior to iOS 11.2 and on Android systems.

    Declaration

    Objective-C

    SBSDKDocumentDetectorModeMachineLearningNoCoreML = 2

    Swift

    case machineLearningNoCoreML = 2