---
title: device
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/rotationcoordinator/device
---

# device

The capture device the coordinator monitors to track its physical rotation.

## Declaration

```swift
weak var device: AVCaptureDevice? { get }
```

## Discussion

Discussion The coordinator updates its videoRotationAngleForHorizonLevelCapture property by monitoring the device’s physical rotation.

## See Also

### Inspecting a coordinator’s configuration

- [previewLayer](avfoundation/avcapturedevice/rotationcoordinator/previewlayer.md)
