NetworkConnectionType

@objc
public enum NetworkConnectionType : Int, CustomStringConvertible
  • WiFi connection

    Declaration

    Swift

    case wifi
  • Cellular connection

    Declaration

    Swift

    case cellular
  • Wired ethernet connection

    Declaration

    Swift

    case wiredEthernet
  • Other connection type

    Declaration

    Swift

    case other
  • No network connection available

    Declaration

    Swift

    case none
  • Network connection type cannot be determined

    Declaration

    Swift

    case unknown
  • Declaration

    Swift

    public init(from path: NWPath)
  • Declaration

    Swift

    public var description: String { get }