MrtdNfcTunnelFactory

Caching factory for MrtdNfcTunnel.

Once MrtdNfcTunnel is created, it exists for a while and can be identified by its MrtdNfcTunnel.token.

Inheritors

Functions

Link copied to clipboard
abstract fun acquire(dataGroups: List<Int>, accessData: MrtdAccessData?): MrtdNfcTunnel

Initialize, supplying the desired data groups that should be read from the chip and, optionally, data to access the chip (must be provided when the tunnel was established using EvidenceRequestIcaoNfcTunnelType.HANDSHAKE with EvidenceRequestIcaoNfcTunnel.passThrough set to true).

Link copied to clipboard
abstract fun getByToken(token: String): MrtdNfcTunnel

Find a previously acquired MrtdNfcTunnel by its MrtdNfcTunnel.token.