iOS Guides | Samples

CoreNFC.INFCReaderSessionDelegate

The delegate-object interface for NFCReaderSession objects.

See Also: INFCReaderSessionDelegate

Syntax

[Foundation.Protocol(Name="NFCReaderSessionDelegate", WrapperType=typeof(CoreNFC.NFCReaderSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidBecomeActive", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="readerSessionDidBecomeActive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidDetectTags", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="readerSession:didDetectTags:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidInvalidate", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="readerSession:didInvalidateWithError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface INFCReaderSessionDelegate : INativeObject, IDisposable

Requirements

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

The members of CoreNFC.INFCReaderSessionDelegate are listed below.

Public Methods

DidBecomeActive(NFCReaderSession)
Developers may override this method to react to the NFCReaderSession activating.
DidDetectTags(NFCReaderSession, INFCTag[])
Developers may override this method to react to the detection of NFC tags.
DidInvalidate(NFCReaderSession, NSError)
Developers may override this method to react to the invalidation of the NFCReaderSession.