Class NfcP2p
Definition
- Assembly:
- Tizen.Network.Nfc.dll
The class for managing the P2P target information.
public class NfcP2p : IDisposable
- Inheritance
-
objectNfcP2p
Methods
View SourceDispose()
Dispose
Declaration
public void Dispose()
~NfcP2p()
NfcP2p destructor.
Declaration
protected ~NfcP2p()
SendNdefMessageAsync(NfcNdefMessage)
Sends data to the NFC peer-to-peer target.
Declaration
public Task<NfcError> SendNdefMessageAsync(NfcNdefMessage ndefMessage)
Parameters
Type | Name | Description |
---|---|---|
NfcNdefMessage | ndefMessage | The NfcNdefMessage object. |
Returns
Type | Description |
---|---|
Task<><NfcError> |
Events
View SourceP2pDataReceived
The event for receiving data from the NFC peer-to-peer target.
Declaration
public event EventHandler<P2pDataReceivedEventArgs> P2pDataReceived
Event Type
Type | Description |
---|---|
EventHandler<><P2pDataReceivedEventArgs> |