One Logo Pool Ball
ProximityReader · IOS API REFERENCE

MobileNationalIDCardDataRequest.Response.DocumentElements

struct · iOS 18.0+ · SDK 27.1

struct DocumentElements

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?

The mobile national ID card holder's sex.

get · iOS 27.0+

name

TypeScript
get name(): (MobileDocumentHolderName) | null
Swift declaration
let name: MobileDocumentHolderName?

The mobile national ID card holder's name.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →