SCPNetworkStatus

Objective-C

enum SCPNetworkStatus : NSUInteger {}

Swift

enum NetworkStatus : UInt, @unchecked Sendable

The possible network connection statuses for the SDK.

  • The SDK has not determined if it can communicate with stripe.com.

    Declaration

    Objective-C

    SCPNetworkStatusUnknown

    Swift

    case unknown = 0
  • The SDK is not able to communicate with stripe.com.

    Declaration

    Objective-C

    SCPNetworkStatusOffline

    Swift

    case offline = 1
  • The SDK is able to communicate with stripe.com.

    Declaration

    Objective-C

    SCPNetworkStatusOnline

    Swift

    case online = 2