NfcTransportMdocReader
class NfcTransportMdocReader(val role: MdocRole, options: MdocTransportOptions, val connectionMethod: MdocConnectionMethod.Nfc) : MdocTransport
Constructors
Link copied to clipboard
constructor(role: MdocRole, options: MdocTransportOptions, connectionMethod: MdocConnectionMethod.Nfc)
Properties
Link copied to clipboard
A MdocConnectionMethod which can be sent to the other peer to connect to, or null if not applicable.
Link copied to clipboard
All single-mode MdocConnectionMethod instances advertised or handled by this transport.
Link copied to clipboard
The time spent scanning for the other peer.
Link copied to clipboard
The current state of the transport.
Link copied to clipboard
Diagnostic and performance statistics for this transport instance.
Functions
Link copied to clipboard
Sends a message to the other peer.
Link copied to clipboard
Updates the message on the NFC scanning dialog
Link copied to clipboard
Waits for the other peer to send a message.
Link copied to clipboard
Wraps this Throwable as an MdocTransportException unless it's a CancellationException.