onDeviceEngagementReceived

abstract fun onDeviceEngagementReceived(connectionMethods: List<MdocConnectionMethod>)

Called when a valid device engagement is received from QR code of NFC.

This is called either in response to .setDeviceEngagementFromQrCode or as a result of a NFC tap. The application should call .connect in response to this callback to establish a connection.

If reverse engagement is used, this is never called.

Parameters

connectionMethods

a list of connection methods that can be used to establish a connection to the mdoc.