MdocConnectionMethodNfc
data class MdocConnectionMethodNfc(val commandDataFieldMaxLength: Long, val responseDataFieldMaxLength: Long) : MdocConnectionMethod
Connection method for NFC.
Parameters
commandDataFieldMaxLength
the maximum length for the command data field.
responseDataFieldMaxLength
the maximum length of the response data field.
Functions
Link copied to clipboard
Generates DeviceRetrievalMethod
CBOR for the given MdocConnectionMethod.
Link copied to clipboard
open override fun toNdefRecord(auxiliaryReferences: List<String>, role: MdocRole, skipUuids: Boolean): Pair<NdefRecord, NdefRecord>?
Creates a NDEF Connection Handover Carrier Reference record and Auxiliary Data Reference records.