-
Notifications
You must be signed in to change notification settings - Fork 34
NFCReaderSession
The abstract base class that represents a reader session for detecting NFC tags.
open class NFCReaderSession: NFCReaderSessionProtocol
A Boolean value that determines whether the device supports NFC tag reading.
open class var readingAvailable: Bool
Before creating a reader session, always check the readingAvailable
property to determine whether the user’s device supports scanning for and detecting NFC tags.
The delegate of the reader session.
weak open var delegate: AnyObject?
The queue on which the reader session delegate callbacks and completion block handlers are dispatched.
open var sessionQueue: DispatchQueue = .main
A Boolean value that indicates whether the reader session is started and ready to use.
public var isReady = false
A custom description that helps users understand how they can use NFC reader mode in your app.
public var alertMessage: String = ""
Starts the reader session.
public func begin()
Closes the reader session and displays an error message to the user.
public func invalidate(errorMessage: String?)
Generated at 2021-10-28T15:36:42+0000 using swift-doc 1.0.0-rc.1.