init
TypeScriptstatic init(delegate: SDKHandle, queue?: (_Dispatch_DispatchQueue) | null): NFCPaymentTagReaderSessionSwift declaration@nonobjc convenience init(delegate: any NFCTagReaderSessionDelegate, queue: DispatchQueue? = nil)Creates a new NFCPaymentTagReaderSession instance for processing NFC payment tags supporting NFCTag.iso7816. - Parameters: - 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. - Discussions: This session requires the "com.apple.developer.nfc.readersession.formats" entitlement in your process. In addition your application's Info.plist must contain a non-empty usage description string. `NFCReaderErrorSecurityViolation` will be returned from `NFCTagReaderSessionDelegate.tagReaderSession(_:didInvalidateWithError:)` if the required entitlement is missing when session is started. When the reader discovers a compatible ISO7816 tag it automatically performs a SELECT command (by DF name) using the values provided in "com.apple.developer.nfc.readersession.iso7816.select-identifiers" in the specified array order. The tag is returned from the `NFCTagReaderSessionDelegate.tagReaderSession(_:didDetect:)` call on the first successful SELECT command. The `NFCISO7816Tag.initialSelectedAID` property returns the application identifier of the selected application. Tag will not be returned to the `NFCTagReaderSessionDelegate` if no application described in "com.apple.developer.nfc.readersession.iso7816.select-identifiers" is found.