A type that contains the document elements from a successful mobile national ID card data request.
Members (8)
get · iOS 18.0+
ageAtLeastElements
TypeScript
get ageAtLeastElements(): Record<number, boolean>
Swift declaration
let ageAtLeastElements: [Int : Bool]
A dictionary of values that indicate whether the document holder is at least the specified age.
The key represents an age in years and the value is a Boolean value that indicates whether the
document holder is at least that age.
get · iOS 18.0+
portraitData
TypeScript
get portraitData(): (ArrayBuffer) | null
Swift declaration
let portraitData: Data?
The portrait data of the mobile national ID card holder on record with the issuer.
get · iOS 18.0+
dateOfBirth
TypeScript
get dateOfBirth(): (_Foundation_DateComponents) | null
Swift declaration
let dateOfBirth: DateComponents?
The date of birth of the mobile national ID card holder.
get · iOS 18.4+
documentNumber
TypeScript
get documentNumber(): (string) | null
Swift declaration
let documentNumber: String?
The document's number, as defined by the document's issuing authority.
get · iOS 18.0+
nameComponents
TypeScript
get nameComponents(): (_Foundation_PersonNameComponents) | null
Swift declaration
var nameComponents: PersonNameComponents? { get }
The mobile national ID card holder's name components.
get · iOS 18.0+
age
TypeScript
get age(): (number) | null
Swift declaration
let age: Int?
The mobile national ID card holder's age in years.
get · iOS 18.0+
sex
TypeScript
get sex(): (MobileNationalIDCardDataRequest_Response_DocumentElements_Sex) | null
Swift declaration
let sex: MobileNationalIDCardDataRequest.Response.DocumentElements.Sex?