MdocConnectionMethodNfcV2
Connection method for NFCv2.
The apduResponseMaxSize parameter is used to tell the mdoc that it needs to send its responses in APDUs no larger than this size and this value must be smaller or equal to 65536, the maximum size of an Extended APDU. Since this class is usually not used in an environment where a 64 KiB buffer is a showstopper we default to the maximum size.
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.