mdocReaderNfcHandover

suspend fun mdocReaderNfcHandover(tag: NfcIsoTag, negotiatedHandoverConnectionMethods: List<MdocConnectionMethod>, options: MdocReaderNfcHandoverOptions = MdocReaderNfcHandoverOptions()): MdocReaderNfcHandoverResult?

Perform NFC Engagement as a mdoc reader.

Return

a MdocReaderNfcHandoverResult if the handover was successful or null if the tag does not support the requested engagement technology.

Parameters

tag

the NfcIsoTag representing a NFC connection to the mdoc.

negotiatedHandoverConnectionMethods

the connection methods to offer if the remote mdoc is using NFC negotiated handover or CCE.

Throws

if an error occurs during handover.