RGLDocumentReaderDocumentType

Objective-C

@interface RGLDocumentReaderDocumentType : NSObject

/**
 Document type name
 */
@property(nonatomic, strong, readonly, nullable) NSString *name;
/**
 Document type numeric code
 */
@property(nonatomic, assign, readonly) NSInteger documentID;
/**
 Document issuing country ICAO code
 */
@property(nonatomic, strong, readonly, nullable) NSString *ICAOCode;
/**
 An array of IRS document identifiers
 */
@property(nonatomic, strong, readonly, nonnull) NSArray<NSNumber *> *FDSID;
/**
 Document type, one of RGLDiDocType enumeration values
 */
@property(nonatomic, assign, readonly) RGLDiDocType dType;
/**
 Document format, one of RGLDocFormat enumeration values
 */
@property(nonatomic, assign, readonly) RGLDocFormat dFormat;
/**
 Flag for MRZ presence on a document
 */
@property(nonatomic, assign, readonly) BOOL dMRZ;
/**
 Document deprecation.
 */
@property(nonatomic, assign, readonly) BOOL isDeprecated;
/**
 Document description text
 */
@property(nonatomic, strong, readonly, nullable) NSString *dDescription;
/**
 Document issue year
 */
@property(nonatomic, strong, readonly, nullable) NSString *dYear;
/**
 Document issuing country name
 */
@property(nonatomic, strong, readonly, nullable) NSString *dCountryName;
/**
 An index of the document page whence results are received
 */
@property(nonatomic, assign, readonly) NSInteger pageIndex;

- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
- (NSDictionary *_Nonnull)jsonDictionary;

@end

Swift

class DocumentReaderDocumentType : NSObject

Undocumented

  • Document type name

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *name;

    Swift

    var name: String? { get }
  • Document type numeric code

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger documentID;

    Swift

    var documentID: Int { get }
  • Document issuing country ICAO code

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *ICAOCode;

    Swift

    var icaoCode: String? { get }
  • An array of IRS document identifiers

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSArray<NSNumber *> *FDSID;

    Swift

    var fdsid: [NSNumber] { get }
  • Document type, one of RGLDiDocType enumeration values

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLDiDocType dType;

    Swift

    var dType: DiDocType { get }
  • Document format, one of RGLDocFormat enumeration values

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLDocFormat dFormat;

    Swift

    var dFormat: DocFormat { get }
  • Flag for MRZ presence on a document

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL dMRZ;

    Swift

    var dMRZ: Bool { get }
  • Document deprecation.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isDeprecated;

    Swift

    var isDeprecated: Bool { get }
  • Document description text

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *dDescription;

    Swift

    var dDescription: String? { get }
  • Document issue year

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *dYear;

    Swift

    var dYear: String? { get }
  • Document issuing country name

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *dCountryName;

    Swift

    var dCountryName: String? { get }
  • An index of the document page whence results are received

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger pageIndex;

    Swift

    var pageIndex: Int { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *_Nonnull)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]