Contents

init(configuration:delegate:queue:)

Creates a new NFCTagReaderSession instance.

Declaration

convenience init(configuration: NFCTagReaderSession.Configuration, delegate: any NFCTagReaderSessionDelegate, queue: DispatchQueue? = nil)

Parameters

  • configuration:

    Reader configuration used for the session. The config is applied when begin() or restartPolling() is called.

  • delegate:

    The session will hold a weak ARC reference to this NFCTagReaderSessionDelegate object.

  • queue:

    A dispatch queue where NFCTagReaderSessionDelegate delegate callbacks will be dispatched to. A nil value will cause the creation of a serial dispatch queue internally for the session. The session object will retain the provided dispatch queue.