NetworkReachabilityStatus

public enum NetworkReachabilityStatus : Sendable
extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable

Defines the various states of network reachability.

  • It is unknown whether the network is reachable.

    Declaration

    Swift

    case unknown
  • The network is not reachable.

    Declaration

    Swift

    case notReachable
  • The network is reachable on the associated ConnectionType.

    Declaration

    Swift

    case reachable(ConnectionType)
  • Defines the various connection types detected by reachability flags.

    See more

    Declaration

    Swift

    public enum ConnectionType : Sendable