Global Variable

AVCaptureDeviceTypeBuiltInTrueDepthCamera

A combination of cameras and other sensors that creates a capture device capable of photo, video, and depth capture.

Declaration

const AVCaptureDeviceType AVCaptureDeviceTypeBuiltInTrueDepthCamera;

Discussion

Use this device type to access the TrueDepth camera on compatible devices (see iOS Device Compatibility Reference). On such devices, the AVCaptureDeviceTypeBuiltInWideAngleCamera device type delivers only photo or video. To also capture depth maps (either with still photos using the AVCapturePhotoSettings depthDataDeliveryEnabled, or as a live stream using the AVCaptureDepthDataOutput class), use this capture device type instead.

See Also

Capture Device Types

AVCaptureDeviceTypeBuiltInDualCamera

A combination of wide-angle and telephoto cameras that creates a capture device.

AVCaptureDeviceTypeBuiltInDualWideCamera

A device that consists of two cameras of fixed focal length, one ultrawide angle and one wide angle.

AVCaptureDeviceTypeBuiltInTripleCamera

A device that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto.

AVCaptureDeviceTypeBuiltInWideAngleCamera

A built-in wide-angle camera.

AVCaptureDeviceTypeBuiltInUltraWideCamera

A built-in camera with a shorter focal length than that of a wide-angle camera.

AVCaptureDeviceTypeBuiltInTelephotoCamera

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

AVCaptureDeviceTypeExternalUnknown

An unknown external device type.