SCPTestReaderUpdateType

Objective-C

enum SCPTestReaderUpdateType : NSUInteger {}

Swift

enum TestReaderUpdateType : UInt, @unchecked Sendable

The kind of simulated update to present during connection.

  • An optional update is available and will be announced during connect.

    Declaration

    Objective-C

    SCPTestReaderUpdateTypeAvailable = 0

    Swift

    case available = 0
  • A required update will be performed during connect.

    Declaration

    Objective-C

    SCPTestReaderUpdateTypeRequired

    Swift

    case required = 1
  • A required update exists. When connecting offline, connection will fail because the reader’s version is not allowed. When connecting online, the reader will update and connect normally.

    Declaration

    Objective-C

    SCPTestReaderUpdateTypeRequiredOffline

    Swift

    case requiredOffline = 2
  • A required update exists but the reader’s battery is too low for the update to begin. The connection will fail.

    Declaration

    Objective-C

    SCPTestReaderUpdateTypeLowBattery

    Swift

    case lowBattery = 3
  • A required update exists but the reader’s battery is too low for the update to begin. The update will fail but connection succeeds because the reader is on a recent software version.

    Declaration

    Objective-C

    SCPTestReaderUpdateTypeLowBatterySucceedConnect

    Swift

    case lowBatterySucceedConnect = 4