Contents

modeDidChangeForWiFiInterface(withName:)

Tells the delegate that the operating mode has changed.

Declaration

optional func modeDidChangeForWiFiInterface(withName interfaceName: String)

Parameters

  • interfaceName:

    The name of the Wi-Fi interface on which the operating mode changed.

Discussion

Register for operating mode change notifications by sending the startMonitoringEvent(with:) message to a Wi-Fi client object with the CWEventType.modeDidChange event type.

Use the Wi-Fi interface’s interfaceMode() method to query the current operating mode.

See Also

Instance Methods