Platforms to show: All Mac Windows Linux Cross-Platform

Back to CWWiFiClientMBS class.

CWWiFiClientMBS.bssidDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the current BSSID changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeBSSIDDidChange event type to register for BSSID event notifications.
Use CWInterfaceMBS.bssid to query the current BSSID.

Some examples using this event:

CWWiFiClientMBS.clientConnectionInterrupted

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked if the connection to the Wi-Fi subsystem is temporarily interrupted.

All event notifications for which the Wi-Fi client has registered will be automatically re-registered if the connection is interrupted.
The Wi-Fi client should re-sync any local state which is updated as a result of Wi-Fi event notifications.

Some examples using this event:

CWWiFiClientMBS.clientConnectionInvalidated

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked if the connection to the Wi-Fi subsystem is permanently invalidated.

Some examples using this event:

CWWiFiClientMBS.countryCodeDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the currently adopted country code changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeCountryCodeDidChange event type to register for country code event notifications.
Use CWInterfaceMBS.countryCode to query the currently adopted country code.

Some examples using this event:

CWWiFiClientMBS.linkDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the Wi-Fi link state changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeLinkDidChange event type to register for link event notifications.

Some examples using this event:

CWWiFiClientMBS.linkQualityDidChangeForWiFiInterfaceWithName(interfaceName as String, rssi as Integer, transmitRate as double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the Wi-Fi link quality changes.

interfaceName: The name of the Wi-Fi interface.
rssi: The RSSI value for the currently associated network on the Wi-Fi interface.
transmitRate: The transmit rate for the currently associated network on the Wi-Fi interface.

Use startMonitoring with the CWEventTypeLinkQualityDidChange event type to register for link quality event notifications.
Use CWInterfaceMBS.rssiValue and CWInterfaceMBS.transmitRate to query the current RSSI and transmit rate, respectively.

Some examples using this event:

CWWiFiClientMBS.modeDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the Wi-Fi operating mode changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeModeDidChange event type to register for interface mode event notifications.
Use CWInterfaceMBS.interfaceMode to query the current operating mode.

Some examples using this event:

CWWiFiClientMBS.powerStateDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the Wi-Fi power state changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypePowerDidChange event type to register for power event notifications.
Use CWInterfaceMBS.powerOn to query the current Wi-Fi power state.

Some examples using this event:

CWWiFiClientMBS.rangingReportEventForWiFiInterfaceWithName(interfaceName as String, rangingData() as Dictionary, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when WiFi ranging measurement completed.

interfaceName: The name of the Wi-Fi interface.
rangingData: Dictionary containing distance measurement data.

Use startMonitoring with the CWEventTypeRangingReportEvent event type to register for ranging event notifications.

Some examples using this event:

CWWiFiClientMBS.scanCacheUpdatedForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the Wi-Fi interface scan cache is updated with new scan results.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeScanCacheUpdated event type to register for scan cache event notifications.
Use CWInterfaceMBS.cachedScanResults to query scan cache results from the last scan.

Some examples using this event:

CWWiFiClientMBS.ssidDidChangeForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when the current SSID changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeSSIDDidChange event type to register for SSID event notifications.
Use CWInterfaceMBS.ssidData or CWInterfaceMBS.ssid to query the current SSID.

Some examples using this event:

CWWiFiClientMBS.virtualInterfaceStateChangedForWiFiInterfaceWithName(interfaceName as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Network MBS MacFrameworks Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Invoked when any state of WiFi virtual interface changes.

interfaceName: The name of the Wi-Fi interface.

Use startMonitoring with the CWEventTypeVirtualInterfaceStateChanged event type to register for virtual interface state changed notifications.

Some examples using this event:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...