Return the list of network interfaces managed by the Hotspot Helper infrastructure.
- iOS 9.0+
- Mac Catalyst 13.0+
If no network interfaces are being managed, this function returns nil. Otherwise, an array of
NEHotspot objects is returned.
Each network interface is represented by an NEHotspotNetwork object. Currently, the returned array contains exactly one
NEHotspot object representing the Wi-Fi interface.
The main purpose of this method is to allow a Hotspot Helper to provide accurate status in its UI at times when it has not been given a command to process. This method coupled with the
is method of
NEHotspot allows the application to know whether it is the one that is handling the current network.