---
title: wasConnectedNotification
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avcapturedevice/wasconnectednotification
---

# wasConnectedNotification

A notification the system posts when a new capture device becomes available.

## Declaration

```swift
class let wasConnectedNotification: NSNotification.Name
```

## Discussion

Discussion The notification’s object property contains the capture device that connected.

## See Also

### Finding and monitoring devices

- [AVCaptureDevice.DiscoverySession](avfoundation/avcapturedevice/discoverysession.md)
- [default(_:for:position:)](avfoundation/avcapturedevice/default(_:for:position:).md)
- [default(for:)](avfoundation/avcapturedevice/default(for:).md)
- [init(uniqueID:)](avfoundation/avcapturedevice/init(uniqueid:).md)
- [wasDisconnectedNotification](avfoundation/avcapturedevice/wasdisconnectednotification.md)
- [devices(for:)](avfoundation/avcapturedevice/devices(for:).md)
- [devices()](avfoundation/avcapturedevice/devices().md)
