ConnectionType

public enum ConnectionType : Sendable

Defines the various connection types detected by reachability flags.

  • The connection type is either over Ethernet or WiFi.

    Declaration

    Swift

    case ethernetOrWiFi
  • The connection type is a cellular connection.

    Declaration

    Swift

    case cellular