linkQualityDidChangeForWiFiInterface(withName:rssi:transmitRate:)
Tells the delegate that the link quality has changed.
Declaration
optional func linkQualityDidChangeForWiFiInterface(withName interfaceName: String, rssi: Int, transmitRate: Double)Parameters
- interfaceName:
The name of the Wi-Fi interface on which the link quality changed.
- rssi:
The receive signal strength indicator (RSSI) value measured in dBm for the currently associated network.
- transmitRate:
The transmit rate measured in Mbps for the currently associated network.
Discussion
Register for link quality change notifications by sending the startMonitoringEvent(with:) message to a Wi-Fi client object with the CWEventType.linkQualityDidChange event type.
Use the Wi-Fi interface’s rssiValue() and transmitRate() methods to query the current RSSI and transmit rate, respectively.
See Also
Instance Methods
bssidDidChangeForWiFiInterface(withName:)clientConnectionInterrupted()clientConnectionInvalidated()countryCodeDidChangeForWiFiInterface(withName:)linkDidChangeForWiFiInterface(withName:)modeDidChangeForWiFiInterface(withName:)powerStateDidChangeForWiFiInterface(withName:)scanCacheUpdatedForWiFiInterface(withName:)ssidDidChangeForWiFiInterface(withName:)