SCPBatteryStatus

Objective-C

enum SCPBatteryStatus : NSUInteger {}

Swift

enum BatteryStatus : UInt, @unchecked Sendable

A categorization of a reader’s battery charge level.

  • Battery state is not yet known or not available for the connected reader.

    Declaration

    Objective-C

    SCPBatteryStatusUnknown

    Swift

    case unknown = 0
  • The device’s battery is less than or equal to 5%.

    Declaration

    Objective-C

    SCPBatteryStatusCritical

    Swift

    case critical = 1
  • The device’s battery is between 5% and 20%.

    Declaration

    Objective-C

    SCPBatteryStatusLow

    Swift

    case low = 2
  • The device’s battery is greater than 20%.

    Declaration

    Objective-C

    SCPBatteryStatusNominal

    Swift

    case nominal = 3