Class

NEHotspotConfiguration

Configuration settings for a Wi-Fi network.

Declaration

@interface NEHotspotConfiguration : NSObject

Overview

The NEHotspotConfiguration class contains configuration properties and credentials required to connect to Wi-Fi networks.

Topics

Initializing a Configuration

Create new hotspot configurations for open, WEP, WPA/WPA2 personal, WPA/WPA enterprise, and Hotspot 2.0 Wi-Fi networks.

- initWithSSID:

Creates a new hotspot configuration, identified by an SSID, for an open Wi-Fi network.

- initWithSSID:passphrase:isWEP:

Creates a new hotspot configuration, identified by an SSID, for a protected WEP or WPA/WPA2 personal Wi-Fi network.

- initWithSSID:eapSettings:

Creates a new hotspot configuration, identified by an SSID, for a WPA/WPA2 enterprise Wi-Fi network with EAP settings.

- initWithHS20Settings:eapSettings:

Creates a new hotspot configuration, identified by a domain name, for a Hotspot 2.0 Wi-Fi network with HS 2.0 and EAP settings.

- initWithSSIDPrefix:

Creates a new hotspot configuration, identified by an SSID prefix string, for an open Wi-Fi network.

- initWithSSIDPrefix:passphrase:isWEP:

Creates a new hotspot configuration, identified by an SSID prefix string, for a protected WEP or WPA/WPA2 personal Wi-Fi network.

Accessing Configuration Properties

SSID

The SSID of an open, WEP, WPA/WPA2 personal, or WPA/WPA2 enterprise Wi-Fi network.

SSIDPrefix

The string used to match networks against a known SSID prefix.

lifeTimeInDays

The number of days the network retains the associated configuration.

joinOnce

Restricts the lifetime of a configuration to the operating status of the app that created it.

hidden

A Boolean value that indicates the visibility of the SSID.

Relationships

Inherits From

See Also

Wi-Fi Network Configuration

NEHotspotConfigurationManager

A manager that applies and removes hotspot configurations of Wi-Fi networks.

NEHotspotEAPSettings

Extensible Authentication Protocol settings for configuring WPA and WPA2 enterprise Wi-Fi networks.

NEHotspotHS20Settings

Settings for configuring Hotspot 2.0 Wi-Fi networks.