NfcTravelDocumentReader

NFC Travel Document Reader component.

Functions

Link copied to clipboard
abstract fun read(tag: Tag, nfcKey: NfcKey): TravelDocument

Read travel document. First it executes appropriate access control method (BAC/PACE). Then it authenticates data and chip, and finally it returns travel document created from read Data Groups. This operation should be called on a background thread.