---
title: supportedNetworkInterfaces()
framework: networkextension
role: symbol
role_heading: Type Method
path: networkextension/nehotspothelper/supportednetworkinterfaces()
---

# supportedNetworkInterfaces()

Return the list of network interfaces managed by the Hotspot Helper infrastructure.

## Declaration

```swift
class func supportedNetworkInterfaces() -> [Any]?
```

## Return Value

Return Value If no network interfaces are being managed, this function returns nil. Otherwise, an array of NEHotspotNetwork objects is returned.

## Discussion

Discussion Each network interface is represented by an NEHotspotNetwork object. Currently, the returned array contains exactly one NEHotspotNetwork 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 isChosenHelper method of NEHotspotNetwork allows the application to know whether it is the one that is handling the current network.
