-
The type of the travel document (TD).
Declaration
Swift
public private(set) var type: TDType { get } -
The Machine Readable Zone (MRZ) data parsed from the document.
Declaration
Swift
public private(set) var mrz: MRZ { get } -
Initialize a
TravelDocumentinstance with the provided MRZ data.Throws
An error if the travel document type is not recognized.
Declaration
Swift
internal init(data: [UInt8]) throwsParameters
dataThe MRZ data in the form of an array of bytes.
View on GitHub
TravelDocument Structure Reference