Class NfcP2p

Definition

Namespace:
Tizen.Network.Nfc
Assembly:
Tizen.Network.Nfc.dll
API Level:
3

The class for managing the P2P target information.

C#
Copy
public class NfcP2p : IDisposable
Inheritance
NfcP2p

Methods

View Source

Dispose()

Dispose

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Finalize()

NfcP2p destructor.

Declaration
C#
Copy
protected void Finalize()
View Source

SendNdefMessageAsync(NfcNdefMessage)

Sends data to the NFC peer-to-peer target.

Declaration
C#
Copy
public Task<NfcError> SendNdefMessageAsync(NfcNdefMessage ndefMessage)
Parameters
Type Name Description
NfcNdefMessage ndefMessage

The NfcNdefMessage object.

Returns
Type Description
Task<NfcError>
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc

Events

View Source

P2pDataReceived

The event for receiving data from the NFC peer-to-peer target.

Declaration
C#
Copy
public event EventHandler<P2pDataReceivedEventArgs> P2pDataReceived
Event Type
Type Description
EventHandler<P2pDataReceivedEventArgs>
API Level: 3

Extension Methods