fromNdefRecord

Constructs a new MdocConnectionMethod from a NFC record.

Parameters

role

If MdocRole.MDOC the record is from a Handover Select message, MdocRole.MDOC_READER if from a for Handover Request message.

uuid

If a UUID in a record isn't available, use this instead.