<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 2.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@T@AVCaptureDeviceType"
  },
  "title" : "AVCaptureDevice.DeviceType"
}
-->

# AVCaptureDevice.DeviceType

A structure that defines the device types the framework supports.

```
struct DeviceType
```

## Discussion

Use the device type constants to retrieve devices using an [`AVCaptureDevice.DiscoverySession`](/documentation/AVFoundation/AVCaptureDevice/DiscoverySession) object, or when calling the [`default(_:for:position:)`](/documentation/AVFoundation/AVCaptureDevice/default(_:for:position:)) method.

## Topics

### Cameras

[`builtInWideAngleCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInWideAngleCamera)

A built-in wide-angle camera device type.

[`builtInUltraWideCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInUltraWideCamera)

A built-in camera device type with a shorter focal length than a wide-angle camera.

[`builtInTelephotoCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInTelephotoCamera)

A built-in camera device type with a longer focal length than a wide-angle camera.

[`builtInDualCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInDualCamera)

A built-in camera device type that consists of a wide-angle and telephoto camera.

[`builtInDualWideCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInDualWideCamera)

A built-in camera device type that consists of two cameras of fixed focal length, one ultrawide angle and one wide angle.

[`builtInTripleCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInTripleCamera)

A built-in camera device type that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto.

[`continuityCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/continuityCamera)

A Continuity Camera device type.

[`builtInDuoCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInDuoCamera)

A built-in dual camera device type.

### Microphones

[`microphone`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/microphone)

A microphone device type.

[`builtInMicrophone`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInMicrophone)

A built-in microphone.

### External devices

[`external`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/external)

An external device type.

[`externalUnknown`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/externalUnknown)

An unknown external device type.

### Desk View

[`deskViewCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/deskViewCamera)

A virtual overhead camera that captures a user’s desk.

### Depth sensing

[`builtInLiDARDepthCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInLiDARDepthCamera)

A device that consists of two cameras, one LiDAR and one YUV.

[`builtInTrueDepthCamera`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInTrueDepthCamera)

A device that consists of two cameras, one Infrared and one YUV.

### Initializers

[`init(rawValue:)`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/init(rawValue:))

Creates a capture device type with a string value.



---

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)