-
Notifications
You must be signed in to change notification settings - Fork 34
NFCReaderSessionProtocol
treastrain edited this page May 7, 2021
·
2 revisions
A general interface for interacting with a reader session.
public protocol NFCReaderSessionProtocol: AnyObject
AnyObject
The queue on which the reader session delegate callbacks and completion block handlers are dispatched.
var sessionQueue: DispatchQueue
A Boolean value that indicates whether the reader session is started and ready to use.
var isReady: Bool
A custom description that helps users understand how they can use NFC reader mode in your app.
var alertMessage: String
Starts the reader session.
func begin()
Closes the reader session and displays an error message to the user.
func invalidate(errorMessage: String?)
- errorMessage: The error message to display.
Generated at 2021-10-28T15:36:42+0000 using swift-doc 1.0.0-rc.1.