linkDidChangeForWiFiInterface(withName:)
Tells the delegate that the Wi-Fi link state changed.
Declaration
optional func linkDidChangeForWiFiInterface(withName interfaceName: String)Parameters
- interfaceName:
The name of the Wi-Fi interface on which the link state changed.
Discussion
Register for link state change notifications by sending the startMonitoringEvent(with:) message to a Wi-Fi client object with the CWEventType.linkDidChange event type.
See Also
Instance Methods
bssidDidChangeForWiFiInterface(withName:)clientConnectionInterrupted()clientConnectionInvalidated()countryCodeDidChangeForWiFiInterface(withName:)linkQualityDidChangeForWiFiInterface(withName:rssi:transmitRate:)modeDidChangeForWiFiInterface(withName:)powerStateDidChangeForWiFiInterface(withName:)scanCacheUpdatedForWiFiInterface(withName:)ssidDidChangeForWiFiInterface(withName:)