---
title: "stopMonitoringEvent(with:)"
framework: corewlan
role: symbol
role_heading: Instance Method
path: "corewlan/cwwificlient/stopmonitoringevent(with:)"
---

# stopMonitoringEvent(with:)

Unregister for specific Wi-Fi event notifications.

## Declaration

```swift
func stopMonitoringEvent(with type: CWEventType) throws
```

## Parameters

- `type`: The type of event notifications to unregister for. See doc://com.apple.corewlan/documentation/CoreWLAN/CWEventType for a list of possible values.

## Discussion

Discussion Use this method to indicate that the client should no longer send notifications for the given event type. note: In order to monitor Wi-Fi events, you must specify the com.apple.wifi.events entitlement for your app.

## See Also

### Monitoring Events

- [startMonitoringEvent(with:)](corewlan/cwwificlient/startmonitoringevent(with:).md)
- [stopMonitoringAllEvents()](corewlan/cwwificlient/stopmonitoringallevents().md)
