Register for specific Wi-Fi event notifications.
- macOS 10.10+
- Core WLAN
The type of event notifications to register for. See
CWEventfor a list of possible values.
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
nilto ignore error details.
A Boolean value that indicates whether or not an error occurred. A value of
YES indicates that no error occurred.
After registering for notifications, when an event of the given type happens, the client sends an appropriate message to its delegate. See the
CWEvent protocol for the complete list of possible messages.