ReaderEvents
public protocol ReaderEvents : AnyObject
Protocol used to receive smart card reader events.
-
Called when the state of a reader changes (e.g insertion or withdrawal of a card…).
Declaration
Swift
func onReaderStateChanged(reader: Reader)
Parameters
reader
The affected
Reader
object. Its properties can be consulted (e.g usingReader.getStatus()
,Reader.isCardPresent()
…) to obtain more information about the event.