<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEHotspotNetwork",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEHotspotNetwork"
  },
  "title" : "NEHotspotNetwork"
}
-->

# NEHotspotNetwork

Information about a Wi-Fi network associated with a command or a response.

```
class NEHotspotNetwork
```

## Overview

When the Hotspot Helper app is asked to evaluate the a network or filter the Wi-Fi scan list, it annotates the  `NEHotspotNetwork` object via the `setConfidence:` method.

## Topics

### Network information

[`SSID`](/documentation/NetworkExtension/NEHotspotNetwork/ssid)

The SSID for the Wi-Fi network.

[`BSSID`](/documentation/NetworkExtension/NEHotspotNetwork/bssid)

The BSSID for the Wi-Fi network.

[`signalStrength`](/documentation/NetworkExtension/NEHotspotNetwork/signalStrength)

The recent signal strength for the Wi-Fi network.

[`secure`](/documentation/NetworkExtension/NEHotspotNetwork/isSecure)

Indicates whether the network is secure

[`autoJoined`](/documentation/NetworkExtension/NEHotspotNetwork/didAutoJoin)

Indicates whether the network was joined automatically or was joined explicitly by the user.

[`justJoined`](/documentation/NetworkExtension/NEHotspotNetwork/didJustJoin)

Indicates whether the network was just joined.

[`chosenHelper`](/documentation/NetworkExtension/NEHotspotNetwork/isChosenHelper)

Indicates whether the calling Hotspot Helper is the chosen helper for this network.

[`securityType`](/documentation/NetworkExtension/NEHotspotNetwork/securityType)

The type of security used by the Wi-Fi network.

[`NEHotspotNetworkSecurityType`](/documentation/NetworkExtension/NEHotspotNetworkSecurityType)

An enumeration of constants that define Wi-Fi hotspot network security types.

### Network annotation

[`-  setConfidence:`](/documentation/NetworkExtension/NEHotspotNetwork/setConfidence(_:))

Indicate the level of confidence in being able to handle the network.

[`NEHotspotHelperConfidence`](/documentation/NetworkExtension/NEHotspotHelperConfidence)

A type that indicates the hotspot helper’s confidence in its ability to handle the network.

[`-  setPassword:`](/documentation/NetworkExtension/NEHotspotNetwork/setPassword(_:))

Provide the password for a protected network.

### Fetching VPN network information

[`+  fetchCurrentWithCompletionHandler:`](/documentation/NetworkExtension/NEHotspotNetwork/fetchCurrent(completionHandler:))

Fetches information about the current Wi-Fi network.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)