SCPReaderInputOptions

Objective-C

enum SCPReaderInputOptions : NSUInteger {}

Swift

struct ReaderInputOptions : OptionSet, @unchecked Sendable

This OptionSet represents all of the input methods available to your user when the reader begins waiting for input. Used by [SCPBluetoothReaderDelegate reader:didRequestReaderInput:].

  • No input options are available on the reader.

    Declaration

    Objective-C

    SCPReaderInputOptionNone = 0
  • Swipe a magstripe card.

    Declaration

    Objective-C

    SCPReaderInputOptionSwipeCard = 1 << 0

    Swift

    static var swipeCard: ReaderInputOptions { get }
  • Insert a chip card.

    Declaration

    Objective-C

    SCPReaderInputOptionInsertCard = 1 << 1

    Swift

    static var insertCard: ReaderInputOptions { get }
  • Tap a contactless card.

    Declaration

    Objective-C

    SCPReaderInputOptionTapCard = 1 << 2

    Swift

    static var tapCard: ReaderInputOptions { get }