Table of contents

DSDocumentType

DSDocumentType is an enumeration class that defines the type of document to scan, such as ID cards or passports.

Definition

Assembly: DynamsoftMRZScanner.xcframework

  • Objective-C
  • Swift
  1. typedef NS_ENUM(NSInteger, DSDocumentType)
    {
    DSDocumentTypeAll = 0
    DSDocumentTypeId= 1
    DSDocumentTypePassport = 2
    };
    
  2. @objc public enum DocumentType: Int {
    case all = 0
    case id = 1
    case passport = 2
    }
    

Is this page helpful?

YesYes NoNo

In this article: