Protocol

NFCReaderSessionDelegate

A collection of callbacks that provide information about the status of an NFC reader session.

Declaration

protocol NFCReaderSessionDelegate

Topics

Getting the Status of a Reader Session

func readerSession(NFCReaderSession, didDetect: [NFCTag])

Provides an array of tags detected by the reader session.

Required.

func readerSession(NFCReaderSession, didInvalidateWithError: Error)

Provides information about the error that invalidated the reader session.

Required.

func readerSessionDidBecomeActive(NFCReaderSession)

Tells you when radio-frequency polling is enabled and the reader session has become active and is scanning for tags.

Required.

Relationships

Inherits From

See Also

Working with a Session

var delegate: AnyObject?

The delegate of the reader session.

var sessionQueue: DispatchQueue

The queue on which the reader session delegate callbacks and completion block handlers are dispatched.