ALDataGroup1 Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | ALNFCResult.h |
Overview
Data group from an NFC scan result, containing textual and date information from the passport
documentType
Document type
@property (nonatomic, copy, nullable) NSString *documentTypeDeclared In
ALNFCResult.h
issuingStateCode
Issuing state code
@property (nonatomic, copy, nullable) NSString *issuingStateCodeDeclared In
ALNFCResult.h
documentNumber
Document number
@property (nonatomic, copy, nullable) NSString *documentNumberDeclared In
ALNFCResult.h
dateOfExpiry
Date of expiry
@property (nonatomic, strong, nullable) NSDate *dateOfExpiryDeclared In
ALNFCResult.h
nationality
Nationality
@property (nonatomic, copy, nullable) NSString *nationalityDeclared In
ALNFCResult.h
lastName
Last name
@property (nonatomic, copy, nullable) NSString *lastNameDeclared In
ALNFCResult.h
firstName
First name
@property (nonatomic, copy, nullable) NSString *firstNameDeclared In
ALNFCResult.h
dateOfBirth
Date of birth
@property (nonatomic, strong, nullable) NSDate *dateOfBirthDeclared In
ALNFCResult.h
– initWithDocumentType:issuingStateCode:documentNumber:dateOfExpiry:gender:nationality:lastName:firstName:dateOfBirth:
Initializes a data group with string / date information from a passport
- (instancetype)initWithDocumentType:(NSString *_Nullable)documentType issuingStateCode:(NSString *_Nullable)issuingStateCode documentNumber:(NSString *_Nullable)documentNumber dateOfExpiry:(NSDate *_Nullable)dateOfExpiry gender:(NSString *_Nullable)gender nationality:(NSString *_Nullable)nationality lastName:(NSString *_Nullable)lastName firstName:(NSString *_Nullable)firstName dateOfBirth:(NSDate *_Nullable)dateOfBirthParameters
documentType |
|
|---|---|
issuingStateCode |
|
documentNumber |
|
dateOfExpiry |
|
gender |
|
nationality |
|
lastName |
|
firstName |
|
dateOfBirth |
Return Value
the ALDataGroup1 object
Declared In
ALNFCResult.h
– initWithPassportDataElements:
Initializes a data group with a dictionary of passport details
- (instancetype)initWithPassportDataElements:(NSDictionary<NSString*,NSString*> *)passportDataElementsParameters
passportDataElements |
NSDictionary mapping fields to their values |
|---|
Return Value
the ALDataGroup1 object
Declared In
ALNFCResult.h