NfcHybridTransportMdoc
Hybrid transport for using NFCv2.
Parameters
a function to send a message via NFC, returns false if the NFC connection is no longer up. be on NFC
Properties
A MdocConnectionMethod which can be sent to the other peer to connect to.
Whether the NFC connection is currently active.
The time spent scanning for the other peer.
The current state of the transport.
Statistics about the NfcHybridTransportMdoc.
Functions
Marks that a response is pending transmission for the current request.
Called when a message has been received via NFC.
Called when a deactivation event on NFC has occurred.
Opens the connection to the other peer.
Sends a message to the other peer.
Sets whether a setTransport is expected to be called.
Called when the negotiated transport is connected.
Waits for the other peer to send a message.