SCPSimulateReaderUpdate
Objective-C
enum SCPSimulateReaderUpdate : NSUInteger {}
Swift
enum SimulateReaderUpdate : UInt
Enum used to simulate various types of reader updates being available for a simulated bluetooth reader.
-
Default: An update is available that is marked as needing to be installed within 7 days
Declaration
Objective-C
SCPSimulateReaderUpdateAvailable = 0Swift
case available = 0 -
No updates are available
Declaration
Objective-C
SCPSimulateReaderUpdateNoneSwift
case none = 1 -
A required full reader software update exists. Use this to simulate the auto-install of a required update that will be applied during connect. This simulated update will take 1 minute and progress will be provided to the delegate provided to
connectBluetoothReader.See
SCPBluetoothReaderReaderDelegateDeclaration
Objective-C
SCPSimulateReaderUpdateRequiredSwift
case required = 2 -
A required update exists. When the SDK connects to the reader, the connection will fail because the reader’s battery is too low for the update to begin.
Declaration
Objective-C
SCPSimulateReaderUpdateLowBatterySwift
case lowBattery = 3 -
Randomly picks a type of update for the reader to help exercise the various states.
Declaration
Objective-C
SCPSimulateReaderUpdateRandomSwift
case random = 4
SCPSimulateReaderUpdate Enumeration Reference