iOS Guides | Samples

CoreNFC.INFCNdefReaderSessionDelegate

Defines the delegate-object interface for INFCNdefReaderSession objects.

See Also: INFCNdefReaderSessionDelegate

Syntax

[Foundation.Protocol(Name="NFCNDEFReaderSessionDelegate", WrapperType=typeof(CoreNFC.NFCNdefReaderSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidInvalidate", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="readerSession:didInvalidateWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidDetect", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="readerSession:didDetectNDEFs:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface INFCNdefReaderSessionDelegate : INativeObject, IDisposable

Requirements

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

The members of CoreNFC.INFCNdefReaderSessionDelegate are listed below.

Public Methods

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