---
title: "scanCacheUpdatedForWiFiInterface(withName:)"
framework: corewlan
role: symbol
role_heading: Instance Method
path: "corewlan/cweventdelegate/scancacheupdatedforwifiinterface(withname:)"
---

# scanCacheUpdatedForWiFiInterface(withName:)

Tells the delegate that the Wi-Fi interface’s scan cache has been updated with new results.

## Declaration

```swift
optional func scanCacheUpdatedForWiFiInterface(withName interfaceName: String)
```

## Parameters

- `interfaceName`: The name of the Wi-Fi interface for which the scan cache results have been updated.

## Discussion

Discussion Register for scan cache update notifications by sending the startMonitoringEvent(with:) message to a Wi-Fi client object with the CWEventType.scanCacheUpdated event type. Use the Wi-Fi interface’s cachedScanResults() method to query the scan cache results from the last scan.

## See Also

### Instance Methods

- [bssidDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/bssiddidchangeforwifiinterface(withname:).md)
- [clientConnectionInterrupted()](corewlan/cweventdelegate/clientconnectioninterrupted().md)
- [clientConnectionInvalidated()](corewlan/cweventdelegate/clientconnectioninvalidated().md)
- [countryCodeDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/countrycodedidchangeforwifiinterface(withname:).md)
- [linkDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/linkdidchangeforwifiinterface(withname:).md)
- [linkQualityDidChangeForWiFiInterface(withName:rssi:transmitRate:)](corewlan/cweventdelegate/linkqualitydidchangeforwifiinterface(withname:rssi:transmitrate:).md)
- [modeDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/modedidchangeforwifiinterface(withname:).md)
- [powerStateDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/powerstatedidchangeforwifiinterface(withname:).md)
- [ssidDidChangeForWiFiInterface(withName:)](corewlan/cweventdelegate/ssiddidchangeforwifiinterface(withname:).md)
