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

Syntax

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

Requirements

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

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

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