mdocReaderNfcHandover

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

Perform NFC Engagement as a mdoc reader.

Return

a MdocReaderNfcHandoverResult if the handover was successful or null if the tag isn't an NDEF tag.

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.

Throws

if an error occurs during handover.