SBSDKDocumentDetectorMode

enum SBSDKDocumentDetectorMode {}

The mode of the document detector: standard or machine-learning-based. Machine-learning-based mode is only available for iOS 11.2 and newer.

  • The standard detection mode.

    Declaration

    Objective-C

    SBSDKDocumentDetectorModeStandard = 0

    Swift

    case standard = 0
  • The new machine-learning based detection mode. Available from iOS 11.2 and higher.

    Declaration

    Objective-C

    SBSDKDocumentDetectorModeMachineLearning = 1

    Swift

    case machineLearning = 1