NFCNdefReaderSessionDelegate.DidInvalidate Method

Definition

Developers may override this method to respond to the invalidation of the NFC session.

[Foundation.Export("readerSession:didInvalidateWithError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidInvalidate(CoreNFC.NFCNdefReaderSession session, Foundation.NSError error);
[<Foundation.Export("readerSession:didInvalidateWithError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidInvalidate : CoreNFC.NFCNdefReaderSession * Foundation.NSError -> unit
override this.DidInvalidate : CoreNFC.NFCNdefReaderSession * Foundation.NSError -> unit

Parameters

session
NFCNdefReaderSession

The session that was invalidated.

error
NSError

The error that invalidated the session.

Implements

Attributes

Applies to