MdocConnectionMethod

abstract class MdocConnectionMethod

A class representing the ConnectionMethod structure exchanged between mdoc and mdoc reader.

This is an abstract class - applications are expected to interact with concrete implementations, for example MdocConnectionMethodBle or MdocConnectionMethodNfc.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Generates DeviceRetrievalMethod CBOR for the given MdocConnectionMethod.

Link copied to clipboard
abstract 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.