<!--
{
  "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

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

A built-in wide-angle camera device type.

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

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

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

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

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

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

[`static let builtInDualWideCamera: AVCaptureDevice.DeviceType`](/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.

[`static let builtInTripleCamera: AVCaptureDevice.DeviceType`](/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.

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

A Continuity Camera device type.

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

A built-in dual camera device type.

### Microphones

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

A microphone device type.

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

A built-in microphone.

### External devices

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

An external device type.

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

An unknown external device type.

### Desk View

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

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

### Depth sensing

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

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

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

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

### Initializers

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

Creates a capture device type with a string value.

### Type Properties

[`static let builtInInnerUltraWideCamera: AVCaptureDevice.DeviceType`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInInnerUltraWideCamera)

[`static let builtInOuterUltraWideCamera: AVCaptureDevice.DeviceType`](/documentation/AVFoundation/AVCaptureDevice/DeviceType-swift.struct/builtInOuterUltraWideCamera)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)