Class NfcP2p

    Definition

    Namespace:
    Tizen.Network.Nfc
    Assembly:
    Tizen.Network.Nfc.dll

    The class for managing the P2P target information.

    public class NfcP2p : IDisposable
    Inheritance
    object
    NfcP2p

    Methods

    View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    View Source

    ~NfcP2p()

    NfcP2p destructor.

    Declaration
    protected ~NfcP2p()
    View Source

    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 Source

    P2pDataReceived

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

    Declaration
    public event EventHandler<P2pDataReceivedEventArgs> P2pDataReceived
    Event Type
    Type Description
    EventHandler<><P2pDataReceivedEventArgs>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX