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

# NEHotspotHS20Settings

Settings for configuring Hotspot 2.0 Wi-Fi networks.

```
class NEHotspotHS20Settings
```

## Topics

### Initializing Hotspot 2.0 settings

[`init(domainName:roamingEnabled:)`](/documentation/NetworkExtension/NEHotspotHS20Settings/init(domainName:roamingEnabled:))

Creates a new hotspot configuration of a legacy Hotspot or HS 2.0 Wi-Fi network. with optional roaming enabled.

### Accessing Hotspot 2.0 properties

[`domainName`](/documentation/NetworkExtension/NEHotspotHS20Settings/domainName)

The domain name of a Hotspot 2.0 Wi-Fi Network.

[`isRoamingEnabled`](/documentation/NetworkExtension/NEHotspotHS20Settings/isRoamingEnabled)

A Boolean value indicating whether or not roaming is enabled on a Hotspot 2.0 Wi-Fi network.

[`mccAndMNCs`](/documentation/NetworkExtension/NEHotspotHS20Settings/mccAndMNCs)

An array of Mobile Country Code (MCC) and Mobile Network Code  (MNC) pairs used for Wi-Fi Hotspot 2.0 negotiation.

[`naiRealmNames`](/documentation/NetworkExtension/NEHotspotHS20Settings/naiRealmNames)

An array of Network Access Identifier (NAI) realm name strings used for Wi-Fi Hotspot 2.0 negotiation.

[`roamingConsortiumOIs`](/documentation/NetworkExtension/NEHotspotHS20Settings/roamingConsortiumOIs)

An array of Roaming Consortium Organization (RCO) identifiers used for Wi-Fi Hotspot 2.0 negotiation.



---

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)