ConnectionType

public enum ConnectionType

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