SCPSimulateReaderUpdate
Objective-C
enum SCPSimulateReaderUpdate : NSUInteger {}
                Swift
enum SimulateReaderUpdate : UInt, @unchecked Sendable
                Enum used to simulate various types of reader updates being available for a simulated bluetooth or tap to pay reader.
- 
                  
                  
Default value.
- When connecting to a Bluetooth reader, an update is available that is marked as needing to be installed within 7 days.
 - When connecting to a Tap To Pay reader, a mandatory update will complete during the connection flow.
 
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
connectReader.See
SCPMobileReaderDelegateSee
SCPTapToPayReaderDelegateDeclaration
Objective-C
SCPSimulateReaderUpdateRequiredSwift
case required = 2 - 
                  
                  
A required full reader software update exists and is necessary to connect the reader while offline.
- When connecting offline, the connection will fail because the reader’s version is not allowed to connect.
 - When connecting online, this reader will update and connect normally.
 
Declaration
Objective-C
SCPSimulateReaderUpdateRequiredForOfflineSwift
case requiredForOffline = 3 - 
                  
                  
A required update exists.
- When connecting to a Bluetooth reader, the connection will fail because the reader’s battery is too low for an update to begin.
 - When connecting to a Tap To Pay reader, a mandatory update will complete during the connection flow.
 
Declaration
Objective-C
SCPSimulateReaderUpdateLowBatterySwift
case lowBattery = 4 - 
                  
                  
A required update exists.
- When connecting to a Bluetooth reader, the update will fail because the reader’s battery is too low for an update to begin, but the the connection succeeds because the reader is on a recent software version.
 - When connecting to a Tap To Pay reader, a mandatory update will complete during the connection flow.
 
Declaration
Objective-C
SCPSimulateReaderUpdateLowBatterySucceedConnectSwift
case lowBatterySucceedConnect = 5 - 
                  
                  
Randomly picks a type of update for the reader to help exercise the various states.
Declaration
Objective-C
SCPSimulateReaderUpdateRandomSwift
case random = 6