iOS Guides | Samples

CoreNFC.NFCNdefReaderSessionDelegate Class

Delegate object for NFCNdefReaderSession objects, allowing the developer to respond to detection of NFC tags and session invalidation.

See Also: NFCNdefReaderSessionDelegate


[Foundation.Register("NFCNDEFReaderSessionDelegate", false)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract class NFCNdefReaderSessionDelegate : NSObject, INFCNdefReaderSessionDelegate, IDisposable


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

The members of CoreNFC.NFCNdefReaderSessionDelegate are listed below.

See Also: NSObject

Protected Constructors

Default constructor, initializes a new instance of this class.
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 Methods

DidDetect(NFCNdefReaderSession, NFCNdefMessage[])
Developers may override this method to respond to the detection of NFC tags.
DidInvalidate(NFCNdefReaderSession, NSError)
Developers may override this method to respond to the invalidation of the NFC session.