iOS Guides | Samples

CoreNFC.NFCReaderSession Class

Abstract class implementing INFCReaderSessionContract and base class for NFCNDEFReaderSession. A session for detecting and reading NFC tags.

See Also: NFCReaderSession


[Foundation.Register("NFCReaderSession", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class NFCReaderSession : NSObject, INFCReaderSessionContract, IDisposable


Namespace: CoreNFC
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of CoreNFC.NFCReaderSession are listed below.

See Also: NSObject

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AlertMessageString. Gets or sets a user-meaningful message describing the application's use of NFC.
ClassHandleIntPtr. The handle for this class.
DelegateINFCReaderSessionDelegate. An instance of the CoreNFC.INFCReaderSessionDelegate model class which acts as the class delegate.
ReadyBoolean. Gets whether the session is ready to detect and read NFC tags.
SessionQueueDispatchQueue. Gets the DispatchQueue on which the NFC detection and reading is performed.

Public Methods

Starts a session for detecting and reading NFC tags.
Closes an NFC session. Once invalidated, a session cannot be reused.

Protected Methods

Releases the resources used by the NFCReaderSession object.