Show / Hide Table of Contents

    Class NfcP2pAdapter

    The class for the NFC P2P (Peer-to-Peer) mode. It allows applications to handle P2P informations.

    Inheritance
    Object
    NfcP2pAdapter
    Implements
    IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Tizen.Network.Nfc
    Assembly: Tizen.Network.Nfc.dll
    Syntax
    public class NfcP2pAdapter : IDisposable
    Privilege Level
    public
    Privilege

    http://tizen.org/privilege/nfc

    Methods

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    API Version
    3

    Finalize()

    NfcP2pAdapter destructor

    Declaration
    protected void Finalize()

    GetConnectedTarget()

    Gets the current connected P2P target.

    Declaration
    public NfcP2p GetConnectedTarget()
    Returns
    Type Description
    NfcP2p

    The NfcP2p object.

    API Version
    3
    Privilege Level
    public
    Privilege

    http://tizen.org/privilege/nfc

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when the NFC is not supported.

    InvalidOperationException

    Thrown when the method fails due to an invalid operation.

    Events

    P2pTargetDiscovered

    The event for receiving the NFC peer-to-peer target discovered notification.

    Declaration
    public event EventHandler<P2pTargetDiscoveredEventArgs> P2pTargetDiscovered
    Event Type
    Type Description
    EventHandler<P2pTargetDiscoveredEventArgs>
    API Version
    3

    Implements

    System.IDisposable
    Back to top Copyright © 2016-2018 Samsung
    Generated by DocFX