Share via


NFCReaderSessionDelegate.DidInvalidate(NFCReaderSession, NSError) Method

Definition

Developers may override this method to react to the invalidation of the NFCReaderSession.

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

Parameters

session
NFCReaderSession

The session that was invalidated.

error
NSError

The error that invalidated the session.

Implements

Attributes

Applies to