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()orrestartPolling()is called. - delegate:
The session will hold a weak ARC reference to this
NFCTagReaderSessionDelegateobject. - queue:
A dispatch queue where
NFCTagReaderSessionDelegatedelegate 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.