Contents

countryCodeDidChangeForWiFiInterface(withName:)

Tells the delegate that the currently adopted country code has changed.

Declaration

optional func countryCodeDidChangeForWiFiInterface(withName interfaceName: String)

Parameters

  • interfaceName:

    The name of the Wi-Fi interface on which the country code changed.

Discussion

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

Use the Wi-Fi interface’s countryCode() method to query the currently adopted country code.

See Also

Instance Methods