AdapterData

struct AdapterData

Details of the connected network and adapter.

  • Unique ID of the adapter.

    Declaration

    Swift

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

    Declaration

    Swift

    var state: ConnectionState
  • Type of the adapter.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var dataUsage: AdapterUsageData