<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARConfiguration/VideoFormat-swift.class/captureDeviceType",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARVideoFormat(py)captureDeviceType"
  },
  "title" : "captureDeviceType"
}
-->

# captureDeviceType

The camera that supplies the video format.

```
var captureDeviceType: AVCaptureDevice.DeviceType { get }
```

## Discussion

To specify a particular video format, select from your configuration’s [`supportedVideoFormats`](/documentation/ARKit/ARConfiguration/supportedVideoFormats) and set the desired format to the configuration’s [`videoFormat`](/documentation/ARKit/ARConfiguration/videoFormat-swift.property) property.

For example, to specify the ultra-wide camera in a face-tracking session, search the supported video formats for the <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInUltraWideCamera> capture device.

```swift
let config = ARFaceTrackingConfiguration()
for videoFormat in ARFaceTrackingConfiguration.supportedVideoFormats {
    if videoFormat.captureDeviceType == .builtInUltraWideCamera {
        config.videoFormat = videoFormat
        break
    }
}
session.run(config)
```

> Important:
> AR frames only contain depth data (``doc://com.apple.arkit/documentation/ARKit/ARFrame/capturedDepthData``) in face-tracking sessions that use the TrueDepth camera.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)