Instance Method

stopMonitoringAllEvents()

Unregister for all Wi-Fi event notifications.

Declaration

func stopMonitoringAllEvents() throws

Parameters

error

A pointer to an error object. If an error occurs, the pointer is set to point at an error object that describes the error condition. Pass nil to ignore error details.

Return Value

A Boolean value that indicates whether or not an error occurred. A value of YES indicates that no error occurred.

Discussion

Use this method when you no longer want to receive any Wi-Fi notifications from the client.

See Also

Monitoring Events

func startMonitoringEvent(with: CWEventType)

Register for specific Wi-Fi event notifications.

func stopMonitoringEvent(with: CWEventType)

Unregister for specific Wi-Fi event notifications.