init(configuration:delegate:queue:)
Declaration
init(configuration: NFCTagReaderSessionConfiguration, delegate: any __NFCTagReaderSessionDelegate, queue: dispatch_queue_t)Parameters
- configuration:
Reader configuration for the session. The configuration is applied when
[NFCTagReaderSession beginSession]or[NFCTagReaderSession restartPolling]is called. - delegate:
The session will hold a weak ARC reference to this
NFCTagReaderSessionDelegateobject. - 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.
Return Value
A new NFCTagReaderSession instance.