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.

Constructors

Link copied to clipboard
constructor(commandDataFieldMaxLength: Long, responseDataFieldMaxLength: Long)

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
open override fun toDeviceEngagement(): ByteArray

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.

Link copied to clipboard
open override fun toString(): String