---
title: "setNetworkList(_:)"
framework: networkextension
role: symbol
role_heading: Instance Method
path: "networkextension/nehotspothelperresponse/setnetworklist(_:)"
---

# setNetworkList(_:)

Set the list of handled networks.

## Declaration

```swift
func setNetworkList(_ networkList: [NEHotspotNetwork])
```

## Parameters

- `networkList`: The list of networks that the caller is capable of handling.

## Discussion

Discussion The Hotspot Helper app calls this method on its response to the NEHotspotHelperCommandType.filterScanList. The helper provides the list of network objects that it is capable of handling with at least low confidence. Networks that it has no confidence in handling should not be specified.

## See Also

### Response properties

- [setNetwork(_:)](networkextension/nehotspothelperresponse/setnetwork(_:).md)
