CardReaderControllerDelegate
public protocol CardReaderControllerDelegate : AnyObject
Delegate methods for the CardReaderController
-
Inform the delegate of a (new) connected/available
CardReaderType
.Declaration
Swift
func cardReader(controller: CardReaderControllerType, didConnect cardReader: CardReaderType)
Parameters
controller
the calling (owning) controller
cardReader
the card reader that became available
-
Inform the delegate of a card reader disconnect.
Declaration
Swift
func cardReader(controller: CardReaderControllerType, didDisconnect cardReader: CardReaderType)
Parameters
controller
the calling (owning) controller
reader
the terminal that became unavailable