---
title: isConnected
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/isconnected
---

# isConnected

A Boolean value that indicates whether a device is currently connected to the system and available for use.

## Declaration

```swift
var isConnected: Bool { get }
```

## Discussion

Discussion When the value of this property is false for a particular capture device instance, it doesn’t become true again. If the same physical device reconnects, the system represents it as a new capture device instance. You can key-value observe this property value to monitor when a device is no longer available.

## See Also

### Accessing device state

- [isSuspended](avfoundation/avcapturedevice/issuspended.md)
- [isInUseByAnotherApplication](avfoundation/avcapturedevice/isinusebyanotherapplication.md)
