CardReaderControllerType

public protocol CardReaderControllerType : AnyObject

Controller representation for managing card readers

  • The identifier name for the controller

    Declaration

    Swift

    var name: String { get }
  • The currently available card readers

    Declaration

    Swift

    var cardReaders: [CardReaderType] { get }
  • Add a delegate to get informed when the cardReaders array changes.

    Declaration

    Swift

    func add(delegate: CardReaderControllerDelegate)

    Parameters

    delegate

    The delegate that should be added and informed upon updates.

  • Remove a previously added delegate.

    Declaration

    Swift

    func remove(delegate: CardReaderControllerDelegate)

    Parameters

    delegate

    The delegate that should be removed from receiving updates.