init(pollingOption:delegate:queue:)
Creates an NFC tag reader session.
Declaration
convenience init?(pollingOption: NFCTagReaderSession.PollingOption, delegate: any NFCTagReaderSessionDelegate, queue: DispatchQueue? = nil)Parameters
- pollingOption:
One or more options specifying the type of tags that the reader session scans for and detects.
- delegate:
An object that handles callbacks from the reader session.
- queue:
A dispatch queue that the reader session uses when making callbacks to the delegate. When queue is
nil, the session creates and uses a serial dispatch queue.