AdapterData

public struct AdapterData

Details of the connected network and adapter.

  • Unique ID of the adapter.

    Declaration

    Swift

    public var adapterID: String
  • State of the connection over this adapter.

    Declaration

    Swift

    public var state: ConnectionState
  • Type of the adapter.

    Declaration

    Swift

    public var type: NetworkType
  • Priority of connections over this adapter.

    Declaration

    Swift

    public var priority: ConnectionPriority
  • Name of the connected network (Wi-Fi and Cellular only).

    Declaration

    Swift

    public var connectedNetworkName: String
  • BSSID of the connected network (Wi-Fi only).

    Declaration

    Swift

    public var connectedNetworkBSSID: String
  • Speed limit, in bits per second. Or zero if unlimited.

    Declaration

    Swift

    public var rateLimit: Int64
  • Data usage and limit information for this adapter.

    Declaration

    Swift

    public var dataUsage: AdapterUsageData
  • Effective priority of connections over this adapter @since 12.4

    Declaration

    Swift

    public var workingPriority: ConnectionPriority
  • isp

    Internet Service Provider, if available @since 12.4

    Declaration

    Swift

    public var isp: String