ssidDidChangeForWiFiInterface(withName:)
Tells the delegate that the current SSID has changed.
Declaration
optional func ssidDidChangeForWiFiInterface(withName interfaceName: String)Parameters
- interfaceName:
The name of the Wi-Fi interface on which the SSID changed.
Discussion
Register for SSID change notifications by sending the startMonitoringEvent(with:) message to a Wi-Fi client object with the CWEventType.ssidDidChange event type.
Use the Wi-Fi interface’s ssidData() or ssid() method to query the current SSID.
See Also
Instance Methods
bssidDidChangeForWiFiInterface(withName:)clientConnectionInterrupted()clientConnectionInvalidated()countryCodeDidChangeForWiFiInterface(withName:)linkDidChangeForWiFiInterface(withName:)linkQualityDidChangeForWiFiInterface(withName:rssi:transmitRate:)modeDidChangeForWiFiInterface(withName:)powerStateDidChangeForWiFiInterface(withName:)scanCacheUpdatedForWiFiInterface(withName:)